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