Header Actions

Centum\Codeception\Actions\HeaderActions

grabHeaders

Grab the HTTP Headers from the Container.

grabHeaders(): Centum\Interfaces\Http\HeadersInterface

grabHeaderValue

grabHeaderValue(
    non-empty-string $name
): ?string

seeHeader

Check that a Header exists.

seeHeader(
    non-empty-string $name
): void

dontSeeHeader

Check that a Header does not exist.

dontSeeHeader(
    non-empty-string $name
): void

seeHeaderValueIs

seeHeaderValueIs(
    non-empty-string $name,
    string $expectedValue
): void

dontSeeHeaderValueIs

dontSeeHeaderValueIs(
    non-empty-string $name,
    string $expectedValue
): void