Version: 10.17.1
Namespace

solace.RequestEventCode

Contents

namespace solace.RequestEventCode

An attribute of solace.RequestError. This enumeration represents the different errors emitted by solace.Session.requestFailedCallback when a solace.Session#sendRequest fails.

The client application receives a request error with event code solace.RequestEventCode.REQUEST_ABORTED when the underlying connection is successfully closed, or closed as a result of a communication error.

Static Properties & Enumerations Top

number REQUEST_ABORTED = 8
number REQUEST_TIMEOUT = 9

Static Properties & Enumerations Detail Top

static public number REQUEST_ABORTED = 8

A request was aborted because the session is disconnected.

static public number REQUEST_TIMEOUT = 9

The event represents a timed-out request API call.