APIs

Show:

Creates a new session with the server.

Constructor

CreateSessionRequest

(
  • 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

clientCertificate

ByteString

The application certificate for the client.

clientNonce

ByteString

A random number generated by the client.

endpointUrl

String

The URL that the client used to connect to the server.

maxResponseMessageSize

UInt32

The maximum message size accepted by the client.

requestedSessionTimeout

Duration

The requested session timeout in milliseconds.

serverUri

String

The URI of the server that the client wants to create a session with.

sessionName

String

A name for the session provided by the client.