Foxit PDF RDK

Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Response Class Reference
Inheritance diagram for Response:

## Public Member Functions
| constructor ()
| Constructor.
| constructor (type, response_data)
| Constructor, with parameters. More...
| Set (type, response_data)
| Set value. More...
Public Member Functions inherited from NativeObjectWrapper
| constructor (r)
| GetPointerAsNumber ()

## Public Attributes
| response_data
| Response content.
| type
| Response type. Please refer to values starting from Response.e_TypeNone and this should be one of these values.

## Static Public Attributes
static | e_TypeCRL
| CRL response.
static | e_TypeNone
| Enumeration for response type. More...
static | e_TypeOCSP
| OCSP response.

## Detailed Description

This class represents a response for a certificate.

Examples
  /Users/ec2-user/gitlab-runner/builds/E-xKdhDo/0/foxit/sdk/mobile/gsdk-doc-auto-build/harmony_nodejs/input/Index.js.

## Member Function Documentation

## ◆ constructor()

Response.constructor | ( | type | ,
|  | response_data |
| ) |  |

Constructor, with parameters.

Parameters

  [in] | type | Response type. Please refer to values starting from Response.e_TypeNone and this should be one of these values.
  [in] | response_data | Response content.

## ◆ Set()

Response.Set | ( | type | ,
|  | response_data |
| ) |  |

Set value.

Parameters

  [in] | type | Response type. Please refer to values starting from Response.e_TypeNone and this should be one of these values.
  [in] | response_data | Response content.

Returns
  None.

## Member Data Documentation

## ◆ e_TypeNone

Response.e_TypeNone
| static

Enumeration for response type.

Values of this enumeration should be used alone.

No response.