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

Inheritance: ISerializable
Afficher le fichier Open project: 7digital/SevenDigital.Api.Wrapper Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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
Résultat void

Request() public méthode

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
Résultat System

Request() public méthode

public Request ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
Résultat System