Implement newHttpClient(HttpService&).
It turns out wrapping an HttpService in an HttpClient is considerably more complicated than vice versa, due to the need for pipes. This commit adds a WebSocket pipe implementation very similar to the recent byte-stream pipe (though considerably simpler since there's no need to deal with mismatched buffer sizes).
Showing
This diff is collapsed.
Please
register
or
sign in
to comment