vibe.d beta banner
get vibe.d
0.7.30

Function HTTPServerResponse.connectProxy

Special method for handling CONNECT proxy tunnel

Prototypes

ConnectionStream connectProxy();

void connectProxy(
  scope void delegate(scope ConnectionStream) del
);

Notice

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

Authors

Sönke Ludwig, Jan Krüger, Ilya Shipunov

Copyright

© 2012-2013 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.