shelf icon indicating copy to clipboard operation
shelf copied to clipboard

Web server middleware for Dart

Results 80 shelf issues
Sort by recently updated
recently updated
newest added

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...

package:shelf

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,...

package:shelf_router_generator

![苏宁豆芽图片20231010100042324](https://github.com/dart-lang/shelf/assets/4929805/22390d5e-5474-4844-93f4-e39a8af26ecb) We don't need to worry about the xx.g.dart file because it is automatically generated,, but there are too many of them.

package:shelf_router_generator

```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.

package:shelf_router

```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/',...

package:shelf_router_generator

There are two router. `/api/product/ /api/product/adjustment` when i call second one the shelf_router package calling first one

package:shelf_router

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...

package:shelf

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.

package:shelf