HttpHeaders

Overview

Location

 

constructor

 

constructor

 

HttpHeaders()

 

Sub New()

ContainsHeaderValue

 

method ContainsHeaderValue(key: String): Boolean

 

Boolean ContainsHeaderValue(String key)

 

Function ContainsHeaderValue(key As String) As Boolean

Parameters:

  • key:

ContentType

 

property ContentType: String read write;

 

String ContentType { get; set; }

 

Property ContentType() As String

Count

 

property Count: Int32 read;

 

Int32 Count { get; }

 

ReadOnly Property Count() As Int32

Create

 

class method Create(connection: Connection): HttpHeaders

 

static HttpHeaders Create(Connection connection)

 

Shared Function Create(connection As Connection) As HttpHeaders

Parameters:

  • connection:

FirstHeader

 

property FirstHeader: String read write;

 

String FirstHeader { get; set; }

 

Property FirstHeader() As String

GetEnumerator

 

method GetEnumerator: IEnumerator

 

IEnumerator GetEnumerator()

 

Function GetEnumerator() As IEnumerator

GetHeaderValue

 

method GetHeaderValue(name: String): String

 

String GetHeaderValue(String name)

 

Function GetHeaderValue(name As String) As String

Parameters:

  • name:

HttpCode

 

property HttpCode: HttpStatusCode read;

 

HttpStatusCode HttpCode { get; }

 

ReadOnly Property HttpCode() As HttpStatusCode

Item

 

property Item[key: String]: HttpHeader read;

 

HttpHeader Item[String key] { get; }

 

ReadOnly Property Item(key As String) As HttpHeader

MaxHeaderLines

 

property MaxHeaderLines: Int32 read write;

 

Int32 MaxHeaderLines { get; set; }

 

Property MaxHeaderLines() As Int32

MaxHeaderLinesEnabled

 

property MaxHeaderLinesEnabled: Boolean read write;

 

Boolean MaxHeaderLinesEnabled { get; set; }

 

Property MaxHeaderLinesEnabled() As Boolean

ParseFirstLine

 

method ParseFirstLine

 

void ParseFirstLine()

 

Sub ParseFirstLine()

ReadHeader

 

method ReadHeader(connection: Connection): Boolean

 

Boolean ReadHeader(Connection connection)

 

Function ReadHeader(connection As Connection) As Boolean

Parameters:

  • connection:

RequestPath

 

property RequestPath: String read write;

 

String RequestPath { get; set; }

 

Property RequestPath() As String

RequestType

 

property RequestType: String read write;

 

String RequestType { get; set; }

 

Property RequestType() As String

RequestVersion

 

property RequestVersion: String read write;

 

String RequestVersion { get; set; }

 

Property RequestVersion() As String

ResponseCode

 

property ResponseCode: Int32 read write;

 

Int32 ResponseCode { get; set; }

 

Property ResponseCode() As Int32

SetHeaderValue

 

method SetHeaderValue(name: String; value: String)

 

void SetHeaderValue(String name, String value)

 

Sub SetHeaderValue(name As String, value As String)

Parameters:

  • name:
  • value:

SetRequestHeader

 

method SetRequestHeader(version: String; requestType: String; requestPath: String)

 

void SetRequestHeader(String version, String requestType, String requestPath)

 

Sub SetRequestHeader(version As String, requestType As String, requestPath As String)

Parameters:

  • version:
  • requestType:
  • requestPath:

SetResponseHeader (String, Int32)

 

method SetResponseHeader(version: String; code: Int32)

 

void SetResponseHeader(String version, Int32 code)

 

Sub SetResponseHeader(version As String, code As Int32)

Parameters:

  • version:
  • code:

SetResponseHeader (String, HttpStatusCode)

 

method SetResponseHeader(version: String; code: HttpStatusCode)

 

void SetResponseHeader(String version, HttpStatusCode code)

 

Sub SetResponseHeader(version As String, code As HttpStatusCode)

Parameters:

  • version:
  • code:

ToString

 

method ToString: String

 

String ToString()

 

Function ToString() As String

WriteHeader

 

method WriteHeader(connection: Connection)

 

void WriteHeader(Connection connection)

 

Sub WriteHeader(connection As Connection)

Parameters:

  • connection:

 

ContentType

 

property ContentType: String read write;

 

String ContentType { get; set; }

 

Property ContentType() As String

Count

 

property Count: Int32 read;

 

Int32 Count { get; }

 

ReadOnly Property Count() As Int32

FirstHeader

 

property FirstHeader: String read write;

 

String FirstHeader { get; set; }

 

Property FirstHeader() As String

HttpCode

 

property HttpCode: HttpStatusCode read;

 

HttpStatusCode HttpCode { get; }

 

ReadOnly Property HttpCode() As HttpStatusCode

Item

 

property Item[key: String]: HttpHeader read;

 

HttpHeader Item[String key] { get; }

 

ReadOnly Property Item(key As String) As HttpHeader

MaxHeaderLines

 

property MaxHeaderLines: Int32 read write;

 

Int32 MaxHeaderLines { get; set; }

 

Property MaxHeaderLines() As Int32

MaxHeaderLinesEnabled

 

property MaxHeaderLinesEnabled: Boolean read write;

 

Boolean MaxHeaderLinesEnabled { get; set; }

 

Property MaxHeaderLinesEnabled() As Boolean

RequestPath

 

property RequestPath: String read write;

 

String RequestPath { get; set; }

 

Property RequestPath() As String

RequestType

 

property RequestType: String read write;

 

String RequestType { get; set; }

 

Property RequestType() As String

RequestVersion

 

property RequestVersion: String read write;

 

String RequestVersion { get; set; }

 

Property RequestVersion() As String

ResponseCode

 

property ResponseCode: Int32 read write;

 

Int32 ResponseCode { get; set; }

 

Property ResponseCode() As Int32

 

Create

 

class method Create(connection: Connection): HttpHeaders

 

static HttpHeaders Create(Connection connection)

 

Shared Function Create(connection As Connection) As HttpHeaders

Parameters:

  • connection:

 

constructor

 

constructor

 

HttpHeaders()

 

Sub New()

ContainsHeaderValue

 

method ContainsHeaderValue(key: String): Boolean

 

Boolean ContainsHeaderValue(String key)

 

Function ContainsHeaderValue(key As String) As Boolean

Parameters:

  • key:

GetEnumerator

 

method GetEnumerator: IEnumerator

 

IEnumerator GetEnumerator()

 

Function GetEnumerator() As IEnumerator

GetHeaderValue

 

method GetHeaderValue(name: String): String

 

String GetHeaderValue(String name)

 

Function GetHeaderValue(name As String) As String

Parameters:

  • name:

ParseFirstLine

 

method ParseFirstLine

 

void ParseFirstLine()

 

Sub ParseFirstLine()

ReadHeader

 

method ReadHeader(connection: Connection): Boolean

 

Boolean ReadHeader(Connection connection)

 

Function ReadHeader(connection As Connection) As Boolean

Parameters:

  • connection:

SetHeaderValue

 

method SetHeaderValue(name: String; value: String)

 

void SetHeaderValue(String name, String value)

 

Sub SetHeaderValue(name As String, value As String)

Parameters:

  • name:
  • value:

SetRequestHeader

 

method SetRequestHeader(version: String; requestType: String; requestPath: String)

 

void SetRequestHeader(String version, String requestType, String requestPath)

 

Sub SetRequestHeader(version As String, requestType As String, requestPath As String)

Parameters:

  • version:
  • requestType:
  • requestPath:

SetResponseHeader (String, Int32)

 

method SetResponseHeader(version: String; code: Int32)

 

void SetResponseHeader(String version, Int32 code)

 

Sub SetResponseHeader(version As String, code As Int32)

Parameters:

  • version:
  • code:

SetResponseHeader (String, HttpStatusCode)

 

method SetResponseHeader(version: String; code: HttpStatusCode)

 

void SetResponseHeader(String version, HttpStatusCode code)

 

Sub SetResponseHeader(version As String, code As HttpStatusCode)

Parameters:

  • version:
  • code:

ToString

 

method ToString: String

 

String ToString()

 

Function ToString() As String

WriteHeader

 

method WriteHeader(connection: Connection)

 

void WriteHeader(Connection connection)

 

Sub WriteHeader(connection As Connection)

Parameters:

  • connection: