aboutsummaryrefslogtreecommitdiff
path: root/HelloApp/Program.fs
blob: cbb161dad3577c72aeddffc76cf5ef69f39bdd23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
open HelloLib

[<EntryPoint>]
let main argv =
    let server = Greeting.Serve ()
    let client = Greeting.MakeClient ()

    client.SayHelloAsync(new HelloNet.Api.HelloRequest(Greetee = "world")).ResponseAsync.Wait()

    server.ShutdownAsync().Wait()

    0