Skip to content

Commit

Permalink
Document rootCerts param
Browse files Browse the repository at this point in the history
  • Loading branch information
armstrongnate committed Jun 12, 2018
1 parent 1e19905 commit 22da1da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/SwiftGRPC/Core/Server.swift
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +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
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(
Expand Down

0 comments on commit 22da1da

Please sign in to comment.