Foxit PDF SDK

Instance Methods | Properties | List of all members
FSResponse Class Reference

Inherits NSObject.

## Instance Methods
(id) | - init
| Constructor.
(id) | - initWithOther:
| Constructor, with another response object. More...
(id) | - initWithType:response_data:
| Constructor, with parameters. More...
(void) | - set:response_data:
| Set value. More...

## Properties
NSData * | response_data
| Response content.
FSResponseResponseType | type
| Response type. Please refer to values starting from FSResponseTypeNone and this should be one of these values.

## Detailed Description

This class represents a response for a certificate.

## Method Documentation

## ◆ initWithOther:()

- (id) initWithOther: |  | (FSResponse*) | other |

Constructor, with another response object.

Parameters

  [in] | other | Another response object.

## ◆ initWithType:response_data:()

- (id) initWithType: |  | (FSResponseResponseType) | type
response_data: |  | (NSData *) | response_data

Constructor, with parameters.

Parameters

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

## ◆ set:response_data:()

- (void) set: |  | (FSResponseResponseType) | type
response_data: |  | (NSData *) | response_data

Set value.

Parameters

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

Returns
  None.