UNPKG

landstrasse

Version:

Strongly typed WAMP Client for browsers

10 lines (9 loc) 359 B
import { WampMessage } from '../types/Protocol'; import type { TextSerializerInterface } from '../types/Serializer'; declare class JSONSerializer implements TextSerializerInterface { get isBinary(): boolean; get protocolId(): string; serialize(msg: WampMessage): string; unserialize(msg: string): WampMessage; } export default JSONSerializer;