protected string $crlf = '"\r\n"'
public __construct(array $parts = [], array $headers = []): void
Parameter | Type | Description |
---|
$parts | array | |
$headers | array | |
public __toString(): void
public addPart(Part $part): void
Parameter | Type | Description |
---|
$part | Part | |
public addHeaders(string $headers): void
Parameter | Type | Description |
---|
$headers | string | |
public getHeaders(): void
public getHeader(string $name): string
Parameter | Type | Description |
---|
$name | string | |
public findPart(string $content_type): Part
Parameter | Type | Description |
---|
$content_type | string | |
public decode(string $data): Message
Parameter | Type | Description |
---|
$data | string | |
public parseMessageHeaders(string $content): void
Parameter | Type | Description |
---|
$content | string | |
public jsonSerialize(): mixed
Generated by Hazaar API Doc Generator