Class XperiflowExceptionHandler
Namespace: Workspace.XBR.Xperiflow.Core.RestApi.Exceptions
Assembly: Xperiflow.dll
Declaration
public class XperiflowExceptionHandler
Fields
XperiflowSessionInfo
Declaration
public XperiflowSessionInfo XperiflowSessionInfo
Response
Declaration
public HttpResponseMessage Response
Headers
Declaration
public Dictionary<string, IEnumerable<string>> Headers
CancellationToken
Declaration
public CancellationToken CancellationToken
JsonSerializerSettings
Declaration
public JsonSerializerSettings JsonSerializerSettings
Methods
HandleResponse()
Declaration
public Task<XperiflowApiException> HandleResponse()
Returns
Task
< Workspace.XBR.Xperiflow.Core.RestApi.Exceptions.XperiflowApiException >
ReadObjectResponseAsync<T>(HttpResponseMessage, IReadOnlyDictionary<string, IEnumerable<string>>, CancellationToken)
Declaration
protected virtual Task<XperiflowExceptionHandler.ObjectResponseResult<T>> ReadObjectResponseAsync<T>(HttpResponseMessage response, IReadOnlyDictionary<string, IEnumerable<string>> headers, CancellationToken cancellationToken)
Returns
Task<Workspace.XBR.Xperiflow.Core.RestApi.Exceptions.XperiflowExceptionHandler.ObjectResponseResult{{T}}>
Parameters
Type | Name |
---|---|
System.Net.Http.HttpResponseMessage | response |
System.Collections.Generic.IReadOnlyDictionary<System.String,System.Collections.Generic.IEnumerable{System.String}> | headers |
System.Threading.CancellationToken | cancellationToken |
Type Parameters
T
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object,System.Object)
System.Object.GetHashCode
System.Object.GetType
System.Object.MemberwiseClone
System.Object.ReferenceEquals(System.Object,System.Object)
System.Object.ToString