Table of Contents

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

uri Uri

The Uri used to get the api data

restMessage RestMessage

The rest message

requestParams string

The parameters associated with the request

requestTime TimeSpan

The time needed to execute request

language string

The language associated with the request

Properties

Language

The language associated with the request

public string Language { get; }

Property Value

string

RequestParams

The parameters associated with the request (if present)

public string RequestParams { get; }

Property Value

string

RequestTime

The time it took for the request to execute

public TimeSpan RequestTime { get; }

Property Value

TimeSpan

RestMessage

The rest message

public RestMessage RestMessage { get; }

Property Value

RestMessage

Uri

The associated event identifier

public Uri Uri { get; }

Property Value

Uri