Skip to content

Latest commit

 

History

History
executable file
·
64 lines (39 loc) · 1.3 KB

File metadata and controls

executable file
·
64 lines (39 loc) · 1.3 KB

PDX.SDK.Network.Models.Response

Assembly: PDX.SDK
Namespace: PDX.SDK.Network.Models

Type: class public

Base: System.Object

Code

public class Response
{
    public System.Collections.Generic.Dictionary<System.String, System.String> Headers;
    public System.Byte[] Body;
    public System.Int32 StatusCode;

    public Response();

    public static PDX.SDK.Network.Models.Response CreateErrorResponse(System.String errorBody, System.Nullable<System.Int32> statusCode);
}

Fields

  • public System.Collections.Generic.Dictionary<System.String, System.String> Headers
public System.Collections.Generic.Dictionary<System.String, System.String> Headers;
  • public System.Byte[] Body
public System.Byte[] Body;
  • public System.Int32 StatusCode
public System.Int32 StatusCode;

Constructors

  • public Response()
public Response();

Methods

  • public static CreateErrorResponse(System.String errorBody, System.Nullable<System.Int32> statusCode = null) : PDX.SDK.Network.Models.Response
public static PDX.SDK.Network.Models.Response CreateErrorResponse(System.String errorBody, System.Nullable<System.Int32> statusCode);