Explorar el Código

Merge pull request #263 from tedgoddard/publicSocket

Allow low-level access to socket
Damian Kołakowski hace 8 años
padre
commit
aa57919490
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Sources/WebSockets.swift

+ 1 - 1
Sources/WebSockets.swift

@@ -142,7 +142,7 @@ public class WebSocketSession: Hashable, Equatable  {
         public var payload = [UInt8]()
     }
 
-    let socket: Socket
+    public let socket: Socket
     
     public init(_ socket: Socket) {
         self.socket = socket