Skip to content

Class: WsClient

Constructors

new WsClient(client)

new WsClient(client): WsClient

Parameters

ParameterType
clientKient

Returns

WsClient

core/ws.client.ts:13

Properties

ModifierPropertyTypeDescription
privatePUSHER_APP_KEY"32cbd69e4b950bf97679"-
private_clientKient-
privatepusherdefault-

Methods

handlePusherAuthentication()

private handlePusherAuthentication(params, callback): void

Parameters

ParameterType
paramsChannelAuthorizationRequestParams
callbackChannelAuthorizationCallback

Returns

void

core/ws.client.ts:45


subscribe()

subscribe(channel): Promise<default>

Parameters

ParameterType
channelstring

Returns

Promise<default>

core/ws.client.ts:29


unsubscribe()

unsubscribe(channel): Promise<void>

Parameters

ParameterType
channelstring

Returns

Promise<void>

core/ws.client.ts:41


Generated using typedoc-plugin-markdown and TypeDoc