shelf
shelf copied to clipboard
Web server middleware for Dart
add an easy way, good integration with Prometheus and Gratana to monitor multi-instance applications
I'm trying to implement a very simple rest API with just one endpoint using shelf initializing multiple instances and I want to be able to integrate with Prometheus and Gratana...
I need to use dart shelf with mutual ssl auth, please could we expose requestClientCertificate ? Future serve( Handler handler, Object address, int port, { SecurityContext? securityContext, int? backlog, bool...
### Motivation I would propose to add middleware support in the shelf_router_generator. Currently, to use the router_generator with middleware, you can write something like this: ```dart @Route.get('/user/') Future getUser(Request request,...
 We don't need to worry about the xx.g.dart file because it is automatically generated,, but there are too many of them.
```shell 2023-09-28T11:53:16.692072 0:01:54.637712 GET /auth/auth/index POST /auth/auth/index2 POST /auth/auth/index3 ``` I would like to print all router logs when the application startup.
```dart // GENERATED CODE - DO NOT MODIFY BY HAND part of 'all_routes.dart'; // ************************************************************************** // ShelfRouterGenerator // ************************************************************************** Router _$AllRoutesRouter(AllRoutes service) { final router = Router(); router.add( 'GET', r'/echo/',...
There are two router. `/api/product/ /api/product/adjustment` when i call second one the shelf_router package calling first one
The methods ok, unauthorized, forbidden, notFound first have body as a parameter, and then the other parameters must be defined, The methods internalServerError and badRequest are different, all parameters are...
Hello. I'm using flutter_inappwebview to proxy any requests in webview and use [ProxyController](https://inappwebview.dev/docs/webview/proxy-controller) to forward requests to a local proxy server. I tried using shelf_io but I'm seeing only the...
Add please connection info from HttpRequest to WebSocketChannel object. Needs information about remote ip address and port Thanks.