diff --git a/README.md b/README.md index 6bb747a..5761e93 100644 --- a/README.md +++ b/README.md @@ -57,6 +57,14 @@ public class CustomRoute : WebSocketRouteBase } ``` +### Support for `IActionFilter` +Decorate your `CustomRoute` with filters that get executed the same way as in a AspNetCore web app +Both `IActionFilter` and `IAsyncActionFilter` are supported +```C# +[ServiceFilter] +public class CustomRoute : WebSocketRouteBase +``` + ### Custom message converters If you need specialized converters, implement your own `WebSocketMessageConverter`