feat: Add GetRequestHandle() method for WebSocket support
This commit is contained in:
parent
a5fc039b4d
commit
89fec2f168
@ -193,6 +193,9 @@ namespace Azure { namespace Core { namespace Http { namespace _detail {
|
|||||||
size_t ReadData(uint8_t* buffer, size_t bufferSize, Azure::Core::Context const& context);
|
size_t ReadData(uint8_t* buffer, size_t bufferSize, Azure::Core::Context const& context);
|
||||||
void EnableWebSocketsSupport();
|
void EnableWebSocketsSupport();
|
||||||
void HandleExpectedTlsRootCertificates(HINTERNET hInternet);
|
void HandleExpectedTlsRootCertificates(HINTERNET hInternet);
|
||||||
|
|
||||||
|
// WebSocket support: Provide access to the underlying HINTERNET handle
|
||||||
|
HINTERNET GetRequestHandle() const { return m_requestHandle.get(); }
|
||||||
};
|
};
|
||||||
|
|
||||||
class WinHttpStream final : public Azure::Core::IO::BodyStream {
|
class WinHttpStream final : public Azure::Core::IO::BodyStream {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user