commit | d1fffed3666dd8e8aed9fe67faeb3dca58d1f550 | [log] [tgz] |
---|---|---|
author | dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | Mon May 08 12:22:02 2023 -0700 |
committer | GitHub <noreply@github.com> | Mon May 08 12:22:02 2023 -0700 |
tree | 6d59c293e5f72b2d19f4bf254d00003d0e291fde | |
parent | e0b5d357890eb09f0a7b3d26ddf643dee6977c4b [diff] |
Bump actions/checkout from 3.5.0 to 3.5.2 (#54) Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.0 to 3.5.2. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/8f4b7f84864484a7bf31766abe9204da3cbe65b3...8e5e7e5ab8b370d6c329ec480221332ada57f0ab) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
An implementation of dart:io
‘s HttpServer that wraps multiple servers and forwards methods to all of them. It’s useful for serving the same application on multiple network interfaces while still having a unified way of controlling the servers. In particular, it supports serving on both the IPv4 and IPv6 loopback addresses using HttpMultiServer.loopback.
import 'package:http_multi_server/http_multi_server.dart'; import 'package:shelf/shelf.dart' as shelf; import 'package:shelf/shelf_io.dart' as shelf_io; void main() async { // Both http://127.0.0.1:8080 and http://[::1]:8080 will be bound to the same // server. var server = await HttpMultiServer.loopback(8080); shelf_io.serveRequests(server, (request) { return shelf.Response.ok("Hello, world!"); }); }