Skip to main content

Core SDK

npm install @sukko/sdk

Classes​

ConfigurationError​


ConflictError​


EditionRequiredError​


ForbiddenError​


NotConnectedError​


PayloadTooLargeError​


ProtocolError​


PushClient​


RateLimitedError​


RecoveryInterruptedError​


ServiceUnavailableError​


SseTransport​


SukkoClient​


SukkoError​


TransportError​


TypedEventEmitter<T>​


UnauthorizedError​


ValidationError​


Functions​

buildChannel(tenant: string, suffix: string): string​


parseChannel(channel: string): ParsedChannel | null​


Types​

AuthAck​


AuthError​


AuthErrorCode​


AuthMessage​


ClientMessage​


ConnectionState​


DeliveryItem​


EnableWebPushOptions​


ErrorMessage​


EventMap​


FetchLike​


Gap​


HeartbeatMessage​


HistoryError​


JsonObject​


Message​


Overflow​


OverflowPolicy​


ParsedChannel​


Pong​


PossibleGap​


PublishAck​


PublishError​


PublishErrorCode​


PublishMessage​


PushPlatform​


PushSubscribeOptions​


ReconnectAck​


ReconnectError​


ReconnectErrorCode​


ReconnectMessage​


ReplayMessage​


RestPublishResult​


ServerMessage​


SseTransportOptions​


SubscribeError​


SubscribeMessage​


SubscriptionAck​


SukkoClientEvents​


SukkoClientOptions​


Transport​


TransportCapabilities​


TransportEvents​


TransportState​


UnsubscribeError​


UnsubscribeMessage​


UnsubscriptionAck​


Constants​

CLIENT_ID_KEY​


CLOSE_CODES​


SUKKO_DEFAULTS​