Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brefphp/api-gateway-websocket-client
Websocket client for API Gateway Websockets
https://github.com/brefphp/api-gateway-websocket-client
Last synced: 3 days ago
JSON representation
Websocket client for API Gateway Websockets
- Host: GitHub
- URL: https://github.com/brefphp/api-gateway-websocket-client
- Owner: brefphp
- License: mit
- Created: 2022-10-28T16:18:26.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-12T20:08:36.000Z (about 1 month ago)
- Last Synced: 2024-10-12T23:08:38.426Z (about 1 month ago)
- Language: PHP
- Homepage:
- Size: 16.6 KB
- Stars: 6
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
Websocket client for API Gateway Websockets.
Use this library when building websocket APIs with Bref.
## Installation
```bash
composer require bref/api-gateway-websocket-client
```## Usage
```php
$client = \Bref\ApiGatewayWebsocket\SimpleWebsocketClient::create($apiId, 'us-east-1', 'default');$client->message($connectionId, 'Hello world!');
```