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
///`requires_authentication` validates if a user is authenticated/logged in. If the user is not authenticated then the handler will execute the `authFailedHandler` function.
60
60
[<CustomOperation("requires_authentication")>]
61
61
member__.RequiresAuthentication(state,authFailedHandler):HttpHandler = state >=>(requiresAuthentication authFailedHandler)
@@ -84,9 +84,9 @@ module Pipeline =
84
84
[<CustomOperation("set_body")>]
85
85
member__.SetBody(state,value):HttpHandler = state >=>(setBody value)
86
86
87
-
///`set_body` sets or modifies the body of the `HttpResponse`. This http handler triggers a response to the client and other http handlers will not be able to modify the HTTP headers afterwards any more.
88
-
[<CustomOperation("set_body")>]
89
-
member__.SetBody(state,value):HttpHandler = state >=>(setBodyFromString value)
87
+
///`set_body_from_string` sets or modifies the body of the `HttpResponse`. This http handler triggers a response to the client and other http handlers will not be able to modify the HTTP headers afterwards any more.
88
+
[<CustomOperation("set_body_from_string")>]
89
+
member__.SetBodyFromString(state,value):HttpHandler = state >=>(setBodyFromString value)
90
90
91
91
///`text` sets or modifies the body of the `HttpResponse` by sending a plain text value to the client. This http handler triggers a response to the client and other http handlers will not be able to modify the HTTP headers afterwards any more. It also sets the `Content-Type` HTTP header to `text/plain`.
0 commit comments