Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
http: Make request writing functions public
Websocket client connection starts by a plain HTTP request with some websocket-specific headers. Due to this similarity it makes sense to reuse existing HTTP code when implementing websocket client in the future. For that at least request_line() and write_request_headers() are required. These functions are accessible to existing HTTP client code due to friend class experimental::connection being present.
- Loading branch information