class Prax::Middlewares::ProxyMiddleware
- Prax::Middlewares::ProxyMiddleware
- Prax::Middlewares::Base
- Reference
- Object
Defined in:
prax/middlewares/proxy_middleware.crInstance Method Summary
- #call(handler, &)
-
#proxy(handler, server)
TODO stream response when Content-Length header isn't set (eg: Connection: close) TODO: stream both sides (ie.
-
#proxy_headers(request, socket, ssl)
FIXME should dup the headers to avoid altering the request
- #stream_chunked_response(server, client)
Instance methods inherited from class Prax::Middlewares::Base
call(handler, &)
call
Instance Method Detail
def proxy(handler, server)
#
TODO stream response when Content-Length header isn't set (eg: Connection: close)
TODO stream both sides (ie. support websockets)
def proxy_headers(request, socket, ssl)
#
FIXME should dup the headers to avoid altering the request