File

src/lib/myScript/output/generic/challengeResponseWSMessage.ts

Description

WebSocket recognition hmac challenge message

Extends

AbstractWSMessage

Constructor

constructor(obj: any)

Methods

getChallenge
getChallenge()

Get the challenge

Returns: string

Properties

challenge
challenge: string
import { AbstractWSMessage } from '../../common/abstractWSMessage';

/**
 * WebSocket recognition hmac challenge message
 * 
 * @export
 * @class ChallengeResponseWSMessage
 * @extends {AbstractWSMessage}
 */
export class ChallengeResponseWSMessage extends AbstractWSMessage {
	challenge: string;

	constructor(obj?) {
		super(obj);
		this.challenge = obj && obj.challenge;
	}

	/**
	* Get the challenge
	*
	* @method getChallenge
	* @returns {String}
	*/
	getChallenge(): string {
		return this.challenge;
	};
}

results matching ""

    No results matching ""