Class RawApiDataEventArgs
- Namespace
- Sportradar.OddsFeed.SDK.Api.EventArguments
- Assembly
- Sportradar.OddsFeed.SDK.dll
Event arguments for the RawApiDataReceived events
public class RawApiDataEventArgs : EventArgs
- Inheritance
-
RawApiDataEventArgs
- Inherited Members
Constructors
RawApiDataEventArgs(Uri, RestMessage, string, TimeSpan, string)
Initializes a new instance of the RawApiDataEventArgs class
public RawApiDataEventArgs(Uri uri, RestMessage restMessage, string requestParams, TimeSpan requestTime, string language)
Parameters
uriUriThe Uri used to get the api data
restMessageRestMessageThe rest message
requestParamsstringThe parameters associated with the request
requestTimeTimeSpanThe time needed to execute request
languagestringThe language associated with the request
Properties
Language
The language associated with the request
public string Language { get; }
Property Value
RequestParams
The parameters associated with the request (if present)
public string RequestParams { get; }
Property Value
RequestTime
The time it took for the request to execute
public TimeSpan RequestTime { get; }
Property Value
RestMessage
The rest message
public RestMessage RestMessage { get; }
Property Value
Uri
The associated event identifier
public Uri Uri { get; }