Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kkazuo/shelf_unix_domain_socket
Extension library for Shelf to supports unix domain socket.
https://github.com/kkazuo/shelf_unix_domain_socket
Last synced: about 14 hours ago
JSON representation
Extension library for Shelf to supports unix domain socket.
- Host: GitHub
- URL: https://github.com/kkazuo/shelf_unix_domain_socket
- Owner: kkazuo
- License: apache-2.0
- Created: 2022-07-04T14:39:31.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-29T00:35:07.000Z (over 1 year ago)
- Last Synced: 2023-08-09T13:41:38.355Z (over 1 year ago)
- Language: Dart
- Homepage: https://pub.dev/packages/shelf_unix_domain_socket
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
Extension library for Shelf to supports unix domain socket.
## Features
You can listen your handler on a unix domain socket.
## Getting started
```shell
dart pub add shelf_unix_domain_socket
```## Usage
```dart
var server = await File('/tmp/server.sock').bindHttpServer();
shelf_io.serveRequests(server, handler);
```## Additional information
You can use only on Linux/macOS.