From 7c862e5cbdaf0ebc7cc3682e1a8784a686f504ea Mon Sep 17 00:00:00 2001 From: Tomasz Urban Date: Wed, 3 Apr 2024 15:45:34 +0200 Subject: [PATCH] Add information about Binder#before_parse to plugins.md (#3302) --- docs/plugins.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/plugins.md b/docs/plugins.md index c7500c10d9..03d3d44dfa 100644 --- a/docs/plugins.md +++ b/docs/plugins.md @@ -36,3 +36,7 @@ object that is useful for additional configuration. Public methods in [`Puma::Plugin`](../lib/puma/plugin.rb) are treated as a public API for plugins. + +## Binder hooks + +There's `Puma::Binder#before_parse` method that allows to add proc to run before the body of `Puma::Binder#parse`. \ No newline at end of file