connect-go icon indicating copy to clipboard operation
connect-go copied to clipboard

Add protocol helpers to infer procedure and type

Open emcfarlane opened this issue 1 year ago • 0 comments

Two new methods are added to allow for inferring the procedure and protocol type of a request. These are provided to be used with http middleware. For example, authentication middleware may wish to block on certain protocols or to conditionally allow routes. These new methods pair well with the authn-go middleware.

emcfarlane avatar Jun 25 '24 14:06 emcfarlane