Show / Hide Table of Contents

Class ApiResponse<T>

API Response

Inheritance
System.Object
ApiResponse<T>
Namespace: BoldSign.Api
Assembly: BoldSign.Api.dll
Syntax
public class ApiResponse<T> : object
Type Parameters
Name Description
T

Constructors

| Improve this Doc View Source

ApiResponse(Int32, IDictionary<String, String>, T)

Initializes a new instance of the ApiResponse<T> class.

Declaration
public ApiResponse(int statusCode, IDictionary<string, string> headers, T data)
Parameters
Type Name Description
System.Int32 statusCode

HTTP status code.

IDictionary<System.String, System.String> headers

HTTP headers.

T data

Data (parsed HTTP body)

Properties

| Improve this Doc View Source

Data

Gets or sets the data (parsed HTTP body)

Declaration
public T Data { get; }
Property Value
Type Description
T

The data.

| Improve this Doc View Source

Headers

Gets or sets the HTTP headers

Declaration
public IDictionary<string, string> Headers { get; }
Property Value
Type Description
IDictionary<System.String, System.String>

HTTP headers

| Improve this Doc View Source

StatusCode

Gets or sets the status code (HTTP status code)

Declaration
public int StatusCode { get; }
Property Value
Type Description
System.Int32

The status code.

  • Improve this Doc
  • View Source
In This Article
Back to top Copyright 2001-2023 Syncfusion Inc.
All Rights Reserved