Browse Source

Reword documentation

Nate Armstrong 7 years ago
parent
commit
c317f9d0ee
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Sources/SwiftGRPC/Core/Server.swift

+ 1 - 1
Sources/SwiftGRPC/Core/Server.swift

@@ -50,7 +50,7 @@ public class Server {
   /// - Parameter address: the address where the server will listen
   /// - Parameter key: the private key for the server's certificates
   /// - Parameter certs: the server's certificates
-  /// - Parameter rootCerts: for client validation and will enforce client validation when provided
+  /// - Parameter rootCerts: used to validate client certificates; will enable enforcing valid client certificates when provided
   public init(address: String, key: String, certs: String, rootCerts: String? = nil) {
     underlyingServer = cgrpc_server_create_secure(address, key, certs, rootCerts, rootCerts == nil ? 0 : 1)
     completionQueue = CompletionQueue(