grpc-swift
grpc-swift copied to clipboard
Improve the names of a few commonly used APIs
Motivation:
Naming is important; it should be clear and concise.
Modifications:
The follow renames all offer more precise names:
- Rename
server.run()toserver.serve() - Rename
server.stopListening()toserver.beginGracefulShutdown() - Rename
client.close()toclient.beginGracefulShutdown()
Result:
Clearer APIs