bref/api-gateway-websocket-client

Websocket client for API Gateway Websockets

1.1.2 2024-10-12 20:08 UTC

This package is auto-updated.

Last update: 2024-12-12 20:26:21 UTC


README

Websocket client for API Gateway Websockets.

Use this library when building websocket APIs with Bref.

Installation

composer require bref/api-gateway-websocket-client

Usage

$client = \Bref\ApiGatewayWebsocket\SimpleWebsocketClient::create($apiId, 'us-east-1', 'default');

$client->message($connectionId, 'Hello world!');