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 $contentType): Part
| Parameter | Type | Description |
|---|
$contentType | 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 on Mon, 27 Oct 2025 13:01:29 +0000