bref / api-gateway-websocket-client
Websocket client for API Gateway Websockets
Fund package maintenance!
mnapoli
Installs: 20 509
Dependents: 0
Suggesters: 0
Security: 0
Stars: 6
Watchers: 3
Forks: 2
Open Issues: 0
Requires
- php: >=8.0
- async-aws/lambda: ^1.0|^2.0
- symfony/http-client: ^4.4|^5.0|^6.0|^7.0
Requires (Dev)
- mnapoli/hard-mode: ^0.3.0
- phpstan/phpstan: ^1
- phpunit/phpunit: ^9.0
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!');