Constructors
constructor
- new Headers(header?: object): Headers
-
Parameters
-
Default value header: object = {}
Properties
header
header: object
Type declaration
-
[name: string]: string | undefined
Methods
Reference
- Reference(index: number): undefined | string
-
Parameters
Returns undefined
|
string
header value
ReferenceSeparated
- ReferenceSeparated(index: number, separator?: string): string[]
-
Parameters
-
index: number
-
Default value separator: string = ""
Returns string[]
header values
ReferenceSeparated2
- ReferenceSeparated2(index: number, separator1?: string, separator2?: string): string[][]
-
Parameters
-
index: number
-
Default value separator1: string = ""
-
Default value separator2: string = ""
Returns string[][]
header values
get
- get(name: string): undefined | string
-
Parameters
Returns undefined
|
string
header value
get_separated
- get_separated(name: string, separator?: string): undefined | string[]
-
Parameters
-
name: string
-
Default value separator: string = ""
Returns undefined
|
string[]
header values
get_separated2
- get_separated2(name: string, separator1?: string, separator2?: string): undefined | string[][]
-
Parameters
-
name: string
-
Default value separator1: string = ""
-
Default value separator2: string = ""
Returns undefined
|
string[][]
header values
references
- references(): (undefined | string)[]
-
Returns (undefined | string)[]
Reference* header values
set
- set(name: string, value: string | undefined): undefined | string
-
Parameters
-
name: string
-
value: string | undefined
Returns undefined
|
string
header value
set_separated
- set_separated(name: string, value: string[], separator?: string): string
-
Parameters
-
name: string
-
value: string[]
-
Default value separator: string = ""
Returns string
header value
set_separated2
- set_separated2(name: string, value: string[][], separator1?: string, separator2?: string): string
-
Parameters
-
name: string
-
value: string[][]
-
Default value separator1: string = ""
-
Default value separator2: string = ""
Returns string
header value
toString
-
Returns string
message string
SHIORI Message Headers Container