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()
  2. void connectProxy(void delegate(scope ConnectionStream) @(safe) del)
    class HTTPServerResponse
    @safe
    void
    connectProxy
    (
    scope void delegate
    (
    scope ConnectionStream
    )
    @safe
    del
    )

Meta