src/lib/myScript/output/generic/challengeResponseWSMessage.ts
WebSocket recognition hmac challenge message
constructor(obj: any)
|
getChallenge |
getChallenge()
|
Get the challenge
Returns:
string
|
challenge |
challenge: |
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;
};
}