StreamLink.NET
8.0.1-8.0.1-1132-88354a9
|
Defines the parameters used for Json subscriptions. More...
Public Member Functions | |
Caplin.StreamLink.IJsonSubscriptionParameters | AddHeader (string name, string value) |
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. More... | |
Caplin.StreamLink.IJsonSubscriptionParameters | SetFilter (string filter) |
Sets the filter that restricts the the information returned by the subscription. The filtering is performed by the Liberator, rather than the client, so that bandwidth and client side processing are reduced. More... | |
Defines the parameters used for Json subscriptions.
To create an instance of JsonSubscriptionParameters, use the IStreamLink.CreateJsonSubscriptionParameters method.
Caplin.StreamLink.IJsonSubscriptionParameters Caplin.StreamLink.IJsonSubscriptionParameters.AddHeader | ( | string | name, |
string | value | ||
) |
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.
name | the name of the HTTP header |
value | the value of the header |
Caplin.StreamLink.IJsonSubscriptionParameters Caplin.StreamLink.IJsonSubscriptionParameters.SetFilter | ( | string | filter | ) |
Sets the filter that restricts the the information returned by the subscription. The filtering is performed by the Liberator, rather than the client, so that bandwidth and client side processing are reduced.
For more details on the format of the filter string, please see https://goessner.net/articles/JsonPath/.
filter | The filter string. |