Open
Description
With master
it is possible to inject own handlers for the specific URL by in intercepting them IHttpListener.GetContext.
For example:
let listener =
{ new IHttpListener with
member _.GetContext e =
match CustomContextHandler e with
| None -> null
| Some context -> CustomListenerContext context }
So listener implements GetContext where it first tries to process request with CustomContextHandler.
With development
this approach does not work any more as GetContext was removed from the IHttpListener. Is there are another way of providing different handlers for specific GET/POST URLs?
Metadata
Metadata
Assignees
Labels
No labels