Skip to content

Commit

Permalink
feat: 部分功能 iOS 13 不支持.
Browse files Browse the repository at this point in the history
  • Loading branch information
920201772 committed Jun 1, 2022
1 parent 97f4cb0 commit 1ff1e94
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/Log/HTTP/HTTPSocket.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ extension Net.HTTP {

private let listener: NWListener
private let queue = DispatchQueue(label: "Log.Net.HTTP.Socket", qos: .default)
@available(iOS 13.0, *)
private let context = NWConnection.ContentContext(identifier: "Log.Net.HTTP.Socket", metadata: [NWProtocolWebSocket.Metadata(opcode: .text)])

deinit {
Expand Down

0 comments on commit 1ff1e94

Please sign in to comment.