You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
With
master
it is possible to inject own handlers for the specific URL by in intercepting them IHttpListener.GetContext.For example:
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?The text was updated successfully, but these errors were encountered: