Skip to main content
Version: 10.x

WebSocketLinkOptions

Properties

client

object

ts
{
close: () => void;
request: (op: Operation<unknown>, callbacks: WSCallbackObserver<AnyRouter, unknown>) => UnsubscribeFn;
getConnection: Method getConnection;
}
ts
{
close: () => void;
request: (op: Operation<unknown>, callbacks: WSCallbackObserver<AnyRouter, unknown>) => UnsubscribeFn;
getConnection: Method getConnection;
}

Type declaration

MemberType
close() => void
request(op: Operation<unknown>, callbacks: WSCallbackObserver<AnyRouter, unknown>) => UnsubscribeFn
getConnectionMethod getConnection

Defined in: packages/client/src/links/wsLink.ts:297