For REST operations this adds a HTTP header to be used by the resulting REST request. The order in which the headers are added will be the order in which they are applied to the REST operation.
the name of the HTTP header
the value of the header
The updated CommandParameters
object (to permit a fluent programming style).
Gets the payload type
the payload type
Sets the command associated with a CommandSubscription to be cancelled in the event that the connection goes down before it is sent.
The updated CommandParameters
object (to permit a fluent programming style).
Sets the payload object, this should be of the type specified in the payload type.
the payload ojbject
Sets the type of the payload
the payload type
Sets the command associated with a CommandSubscription to be persistent. This deals with the situation where the connection to the Liberator server has been lost, and on subsequent reconnection StreamLink must create a brand new user session and log in to Liberator again. When this happens, the "persistent" command is automatically re-sent to the Liberator.
The updated CommandParameters
object (to permit a fluent programming style).
Generated using TypeDoc
Jsprivate
Name
CommandParameters