Type Alias WebSocketAuthParams

Websocket auth parameters to use when setting up a websocket based on a host config

type WebSocketAuthParams = {
    headers?: Record<string, string>;
    queryParams?: Record<string, string>;
}
Index

Properties

headers?: Record<string, string>

Note that headers are only applied in NodeJS environments and NOT in the browser

queryParams?: Record<string, string>