class Mitm::WebSocketHandler::ProxyContext
- Mitm::WebSocketHandler::ProxyContext
- HTTP::Server::Context
- Reference
- Object
Overview
Proxy context to be passed to the handler. This context is created upon processing of the CONNECT method and passed to the websocket handler. If it contains a websocket request, it is processed by the handler. Otherwise it gets returned by the call_next method. Additional parameters are added after the processing of the original request.
Defined in:
websocket_handler.crConstructors
Instance Method Summary
Constructor Detail
def self.new(host : String, port : String, request : HTTP::Request, response : HTTP::Server::Response, ssl : Bool = false)
#