Constructor
new Header(name, value)
Creates a new Header instance.
Parameters:
Name | Type | Description |
---|---|---|
name | string | The name of the header. |
value | BytesValue | The value of the header. |
- Source
Throws:
If the value is not an instance of BytesValue.
- Type
- Error
Members
name
Gets the name of the header.
- Source
value
Gets the value of the header.
- Source