Awaitable Server Start() #80
-
Instead of calling If |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
There are two alternatives to // This option will hold the process until the server stops
server.Run();
// This option will hold the process until the cancellation token is canceled
server.Run(CancelationToken token);
|
Beta Was this translation helpful? Give feedback.
There are two alternatives to
server.Start()
available via extension methods onIRestServer
for use with Console applications.