TwurpleAuthenticationGetting dataExamplesFAQMigration

RoomState

{
_command: string
_params?: MessageParam[]
_paramSpec?: MessageParamSpec<Fields>
_prefix?: MessagePrefix
_serverProperties: ServerProperties
_tags: Map<string, string>
endsResponseTo(): boolean
isResponseTo(): boolean
parseParams(): void
prefixToString(): string
tagsToString(): string
toString(): string
}

Methods

_acceptsInReplyCollection(message)

ParameterTypeRequiredDefaultDescription
messageMessagenonenone
Return type: boolean

endsResponseTo(originalMessage)

ParameterTypeRequiredDefaultDescription
originalMessageMessagenonenone
Return type: boolean

getMinParamCount(isServer)

ParameterTypeRequiredDefaultDescription
isServerbooleannonenone
Return type: number

isResponseTo(originalMessage)

ParameterTypeRequiredDefaultDescription
originalMessageMessagenonenone
Return type: boolean

parseParams(isServer)

ParameterTypeRequiredDefaultDescription
isServerbooleannonenone
Return type: void

prefixToString()

Return type: string

tagsToString()

Return type: string

toString(includePrefix, fromRawParams)

ParameterTypeRequiredDefaultDescription
includePrefixbooleannonenone
fromRawParamsbooleannonenone
Return type: string

Properties

_command

Type: string

_params

Type: ?MessageParam[]

_paramSpec

Type: ?MessageParamSpec<Fields>

_prefix

Type: ?MessagePrefix

_serverProperties

Type: ServerProperties

_tags

Type: Map<string, string>