Implements the SignalR handshake protocol used during connection initialization.
More...
#include <HandshakeProtocol.h>
|
static FString | CreateHandshakeMessage (TSharedPtr< IHubProtocol > InProtocol) |
| Creates a handshake message for the specified hub protocol.
|
|
static TTuple< TSharedPtr< FJsonObject >, FString > | ParseHandshakeResponse (const FString &Response) |
| Parses a handshake response from the server.
|
|
Implements the SignalR handshake protocol used during connection initialization.
Handles creation and parsing of handshake messages that negotiate protocol versions and connection settings between client and server.
◆ CreateHandshakeMessage()
FString FHandshakeProtocol::CreateHandshakeMessage |
( |
TSharedPtr< IHubProtocol > | InProtocol | ) |
|
|
static |
Creates a handshake message for the specified hub protocol.
- Parameters
-
InProtocol | The protocol to create a handshake message for |
- Returns
- A string containing the serialized handshake message
◆ ParseHandshakeResponse()
TTuple< TSharedPtr< FJsonObject >, FString > FHandshakeProtocol::ParseHandshakeResponse |
( |
const FString & | Response | ) |
|
|
static |
Parses a handshake response from the server.
- Parameters
-
Response | The raw response string from the server |
- Returns
- A tuple containing the parsed handshake message as a JSON object and any remaining response data
The documentation for this class was generated from the following files: