cpp-httplib icon indicating copy to clipboard operation
cpp-httplib copied to clipboard

Add client stream handler

Open falbrechtskirchinger opened this issue 8 months ago • 0 comments

Introduce a new request callback, stream_handler. If set, it replaces all other content-serving mechanisms. The handler is not called in response to HEAD or CONNECT requests, or when following a redirect. Content-related default header fields are not added to the request.

In conjunction with a response handler, it provides a minimal interface to implement a WebSocket client.

falbrechtskirchinger avatar Feb 20 '25 11:02 falbrechtskirchinger