HTTPServerResponse.connectProxy

Special method for handling CONNECT proxy tunnel

Notice: For the overload that returns a ConnectionStream, it must be ensured that the returned instance doesn't outlive the request handler callback.

  1. ConnectionStream connectProxy()
    class HTTPServerResponse
    scope @safe
    ConnectionStream
    connectProxy
    ()
  2. void connectProxy(void delegate(scope ConnectionStream) @(safe) del)

Meta