APIs

Show:

Creates a new session with the server.

Constructor

CreateSessionResponse

(
  • options
)

Parameters:

  • options Object

Methods

binaryStoreSize

() Number

Calculate the required size to store this object in a binary stream.

Returns:

Number:

decode

(
  • stream
)

decode the object from a binary stream

Parameters:

encode

(
  • stream
)

encode the object into a binary stream

Parameters:

isValid

() Boolean

verify that all object attributes values are valid according to schema

Returns:

Boolean:

toString

() String

Returns:

String:

Properties

authenticationToken

SessionAuthenticationToken

The token used to authenticate the client in subsequent requests.

maxRequestMessageSize

UInt32

The maximum message size accepted by the server.

responseHeader

ResponseHeader

A standard header included in all responses returned by servers.

revisedSessionTimeout

Duration

The session timeout in milliseconds.

serverCertificate

ByteString

The application certificate for the server.

serverEndpoints

EndpointDescription[]

The endpoints provided by the server.

serverNonce

ByteString

A random number generated by the server.

serverSignature

SignatureData

A signature created with the server certificate.

serverSoftwareCertificates

SignedSoftwareCertificate[]

The software certificates owned by the server.

sessionId

NodeId

A identifier which uniquely identifies the session.