Lightstreamer Unity Client 2.1.3
|
A list of name-value pairs representing extra http headers to be attached to every request made by the library.
Null can be set to reset the http headers to the default ones. Each time this value is set, previously specified collections are completely overridden.
Note that some headers are refused by the library (namely Accept, Connection, Content-Length, Content-Type, Date, Host, If-Modified-Since, Range, Transfer-Encoding) while others might be ignored or refused by .NET itself. Refused headers will result in connection failures.
The default setting is null.
Note that it is also possible to specify a Cookie header, its value to be specified in the form "cookieName=cookieValue". The header can contain different cookies separated by semicolons (e.g.: "cookie1=val1; cookie2=val2").
public: __property IDictionary<String,String> HttpExtraHeaders;
public IDictionary<String,String> HttpExtraHeaders;
Public Property HttpExtraHeaders() As IDictionary<String,String>