Created
May 21, 2019 14:32
-
-
Save forki/d9e37efb36cc491d81ba7ae5dbc23f48 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module SocketStop | |
open Microsoft.Azure.WebJobs | |
open System.Net.Http | |
open FSharp.Control.Tasks.ContextInsensitive | |
open Microsoft.Azure.WebJobs.Extensions.Http | |
open Microsoft.Extensions.Logging | |
open Microsoft.AspNetCore.Mvc | |
[<FunctionName("SocketStop")>] | |
let run([<HttpTrigger(AuthorizationLevel.Function, "post", "socketstop")>] req:HttpRequestMessage, log:ILogger) = task { | |
return ContentResult() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment