Show / Hide Table of Contents

# Class HTTPRequestOptions

Class for customizing network requests.

##### Inheritance

object
HTTPRequestOptions

##### Inherited Members

object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

###### Namespace: pdftron.PDF

###### Assembly: PDFNet.dll

##### Syntax

    public class HTTPRequestOptions

### Constructors

#### HTTPRequestOptions()

Create a HTTPRequestOptions object.

##### Declaration

    public HTTPRequestOptions()

### Methods

#### AddHeader(string, string)

Set a custom header to use with all requests.

##### Declaration

    public void AddHeader(string header, string val)

##### Parameters

Type | Name | Description
--- | --- | ---
string | header | A custom header.
string | val | The value of the custom header.