Request type's scope #171
the-moisrex
started this conversation in
General
Replies: 1 comment 1 reply
-
Another way is to provide a request type that knows all the parent protocol request types and when it sees those types, it can mimic their capabilities. But that type would not be a sufficient type. We need request type to be known when the router's type is known in order to let the devs write functions that can utilize the context type which requires request type. devs --require--> context type --requires--> request type --requires--> protocol specific request type. Should we provide a protocol-independent http request type? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Top to bottom request type, or application level request type separation?
Currently, since we have things like
cgi_request
, the request type is top down and providing a common scheme for it is not easy because of all the extension system which means code duplication and introduction of type complexities.Concerns
Having codes like this, means that the sub-apps won't get all the cool features that the protocol-level request type might have.
One solution for this is to use a
dynamic_request
and the request type even inside the protocol itself.Beta Was this translation helpful? Give feedback.
All reactions