-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
jhttp: extend and simplify request processing hooks (#65)
Add a new hook to the Bridge options to allow the caller to handle parsing the HTTP request into JSON-RPC requests. Remove the old content-type check hook. The request check hook remains, but setting either it or the new parse hook disables the default method POST and content-type checks; the hooks are now fully responsible for checking the structure of the request. Without either of these hooks set, the default behaviour does not change.
- Loading branch information
1 parent
acbe9bb
commit d299fef
Showing
2 changed files
with
144 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.