create_server_stream

Function create_server_stream 

Source
pub async fn create_server_stream(
    http_client: &Client,
    base_url: &Url,
    association: Option<&String>,
) -> Result<Upgraded, ServerStreamError>
Expand description

Creates a BlazeSDK upgraded stream using HTTP upgrades with the Pocket Relay server

ยงArguments

  • http_client - The HTTP client to connect with
  • base_url - The server base URL (Connection URL)
  • association - Optional client association token