BedrioxDOCUMENTATION
API CLASS

GatewayPluginChannel

One plugin-owned, bounded bidirectional Gateway messaging channel.

Bedriox\Api\Gateway\GatewayPluginChannel
classBedriox\Api\Gateway

Public methods

__construct(string $name, Closure $registered, Closure $send)

Typed public method.

getName(): string

Typed public method.

isRegistered(): bool

Typed public method.

send(string $payload): bool

Returns true when the message was admitted to at least one authenticated Gateway link.

static unavailable(string $name): self

Typed public method.

Constants

MAXIMUM_PAYLOAD_BYTES

View exact source ↗