SocketConnectionType
Everything an adapter needs to open a connection. Built from the socket's static configuration
and passed through the
onConnect
interceptors right before every connection attempt.
Import
import { SocketConnectionType } from "@hyper-fetch/sockets"
Source
Package
Preview
type SocketConnectionType<Adapter> = {
adapterOptions: ExtractAdapterOptionsType<Adapter> | undefined;
queryParams: ExtractAdapterQueryParamsType<Adapter> | undefined;
url: string;
}
Structure
SocketConnectionType
| Name | Type | Description |
|---|---|---|
| adapterOptions | | |
| queryParams | | |
| url | |
