class Mitm::WebSocketHandler::ProxyContext

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.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(host : String, port : String, request : HTTP::Request, response : HTTP::Server::Response, ssl : Bool = false) #

[View source]

Instance Method Detail

def host : String #

[View source]
def port : String #

[View source]
def ssl : Bool #

[View source]