Skip to content

Commit b9e3de2

Browse files
committed
add documentation
1 parent e163598 commit b9e3de2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ case ReconnectAttempts(Int) // How many times to reconnect. Default is `-1` (inf
165165
case ReconnectWait(Int) // Amount of time to wait between reconnects. Default is `10`
166166
case SessionDelegate(NSURLSessionDelegate) // Sets an NSURLSessionDelegate for the underlying engine. Useful if you need to handle self-signed certs. Default is nil.
167167
case Secure(Bool) // If the connection should use TLS. Default is false.
168+
case Security(SSLSecurity) // Allows you to set which certs are valid. Useful for SSL pinning.
168169
case SelfSigned(Bool) // Sets WebSocket.selfSignedSSL (Don't do this, iOS will yell at you)
169170
case VoipEnabled(Bool) // Only use this option if you're using the client with VoIP services. Changes the way the WebSocket is created. Default is false
170171
```

0 commit comments

Comments
 (0)