Class HTTPRequestOptions
Class for customizing network requests.
Inheritance
System.Object
HTTPRequestOptions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.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 |
---|---|---|
System.String | header | A custom header. |
System.String | val | The value of the custom header. |