/** * A utility tavern that contains methods fer decompressin'/compressin' incomin' 'n outgoin' messages. * @class * @exports Protocol */ export default class Protocol { /** * Decompresses a message received from the server that is meant to contain information about invoking a method client-side. * @param {Object} compressedClientHubInvocation The compressed message received from the server. * @returns {Object} The decompressed message from the server. Contains client-side method invocation data. * @function * @static * @public */ static expandClientHubInvocation(compressedClientHubInvocation: any): { Hub: any; Method: any; Args: any; State: any; }; /** * Decompresses a message received from a server hub into a more readible and workable form. * @param {Object} compressedServerHubResponse The compressed, raw message received from the server. * @returns {Object} The decompressed message received from the server. * @function * @static * @public */ static expandServerHubResponse(compressedServerHubResponse: any): { State: any; Result: any; Progress: { Id: any; Data: any; }; Id: any; IsHubException: any; Error: any; StackTrace: any; ErrorData: any; }; /** * Decompresses a response from the server to a more readible and workable form. * @param {Object} min The message that has been received from the server. * @returns {Object} The decompressed message received from the server. * @function * @static * @public */ static expandResponse(min: any): { messageId: any; messages: any; initialized: boolean; shouldReconnect: boolean; longPollDelay: any; groupsToken: any; }; } //# sourceMappingURL=Protocol.d.ts.map