Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 355 Bytes

README.md

File metadata and controls

17 lines (11 loc) · 355 Bytes

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!');