HttpHeader

Overview

HttpHeader holds Name and Value pairs for Request and Response Header fields.

Location

 

constructor (String)

 

constructor(line: String)

 

HttpHeader(String line)

 

Sub New(line As String)

Parameters:

  • line:

constructor (String, String)

 

constructor(name: String; value: String)

 

HttpHeader(String name, String value)

 

Sub New(name As String, value As String)

Parameters:

  • name:
  • value:

Add

 

method Add(item: String)

 

void Add(String item)

 

Sub Add(item As String)

Parameters:

  • item:

Count

 

property Count: Int32 read;

 

Int32 Count { get; }

 

ReadOnly Property Count() As Int32

Get

 

method Get(index: Int32): String

 

String Get(Int32 index)

 

Function Get(index As Int32) As String

Parameters:

  • index:

Name

 

property Name: String read write;

 

String Name { get; set; }

 

Property Name() As String

ToString

 

method ToString: String

 

String ToString()

 

Function ToString() As String

Value

 

property Value: String read write;

 

String Value { get; set; }

 

Property Value() As String

 

Count

 

property Count: Int32 read;

 

Int32 Count { get; }

 

ReadOnly Property Count() As Int32

Name

 

property Name: String read write;

 

String Name { get; set; }

 

Property Name() As String

Value

 

property Value: String read write;

 

String Value { get; set; }

 

Property Value() As String

 

constructor (String)

 

constructor(line: String)

 

HttpHeader(String line)

 

Sub New(line As String)

Parameters:

  • line:

constructor (String, String)

 

constructor(name: String; value: String)

 

HttpHeader(String name, String value)

 

Sub New(name As String, value As String)

Parameters:

  • name:
  • value:

Add

 

method Add(item: String)

 

void Add(String item)

 

Sub Add(item As String)

Parameters:

  • item:

Get

 

method Get(index: Int32): String

 

String Get(Int32 index)

 

Function Get(index As Int32) As String

Parameters:

  • index:

ToString

 

method ToString: String

 

String ToString()

 

Function ToString() As String