Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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.