C# Class SevenDigital.Api.Wrapper.Requests.Request

Inheritance: ISerializable
Datei anzeigen Open project: 7digital/SevenDigital.Api.Wrapper Class Usage Examples

Public Methods

Method Description
GetObjectData ( SerializationInfo info, StreamingContext context ) : void

we need to override serialisation as 'System.Net.Http.HttpMethod' is not a serializable type and these objects are attached to exceptions

Request ( HttpMethod method, string url, string>.IDictionary headers, SevenDigital.Api.Wrapper.Requests.RequestPayload body, string traceId ) : System
Request ( SerializationInfo info, StreamingContext context ) : System

Method Details

GetObjectData() public method

we need to override serialisation as 'System.Net.Http.HttpMethod' is not a serializable type and these objects are attached to exceptions
public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
return void

Request() public method

public Request ( HttpMethod method, string url, string>.IDictionary headers, SevenDigital.Api.Wrapper.Requests.RequestPayload body, string traceId ) : System
method HttpMethod
url string
headers string>.IDictionary
body SevenDigital.Api.Wrapper.Requests.RequestPayload
traceId string
return System

Request() public method

public Request ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
return System