We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f160af commit 7a40b0aCopy full SHA for 7a40b0a
Sources/DemoServer.swift
@@ -180,7 +180,10 @@ public func demoServer(_ publicDir: String) -> HttpServer {
180
session.writeText(text)
181
}, { (session, binary) in
182
session.writeBinary(binary)
183
- })
+ }, { (session, pong) in
184
+ // Got a pong frame
185
+ }
186
+ )
187
188
server.notFoundHandler = { r in
189
return .movedPermanently("https://github.com/404")
0 commit comments