🍦 SwiftServe Get

Menu / network.websockets

Can Swift packages do websockets?

also known as: websocket · ws · socket

PackageiOSmacOSwatchOStvOSvisionOSLinuxCatalyst
SwiftNIO full menu as of 2.101.2
Details

serves it · confidence 0.80 · as of 2.101.2

  • WebSocketFrame
    Sources/NIOWebSocket/WebSocketFrame.swift:147
    View the line on GitHub →
    RFC 6455 framing in NIOWebSocket
  • MultiThreadedEventLoopGroup
    #if !os(WASI)
    Sources/NIOPosix/MultiThreadedEventLoopGroup.swift:62
    View the line on GitHub →
    the engine — guarded only against WASI

serves it · confidence 0.85 · as of 2.101.2

  • WebSocketFrame
    Sources/NIOWebSocket/WebSocketFrame.swift:147
    View the line on GitHub →
    RFC 6455 framing in NIOWebSocket
  • MultiThreadedEventLoopGroup
    #if !os(WASI)
    Sources/NIOPosix/MultiThreadedEventLoopGroup.swift:62
    View the line on GitHub →
    the engine — guarded only against WASI

serves it · confidence 0.70 · as of 2.101.2

serves it · confidence 0.75 · as of 2.101.2

serves it · confidence 0.70 · as of 2.101.2

serves it · confidence 0.85 · as of 2.101.2

  • WebSocketFrame
    Sources/NIOWebSocket/WebSocketFrame.swift:147
    View the line on GitHub →
    RFC 6455 framing in NIOWebSocket
  • MultiThreadedEventLoopGroup
    #if !os(WASI)
    Sources/NIOPosix/MultiThreadedEventLoopGroup.swift:62
    View the line on GitHub →
    the engine — guarded only against WASI

serves it · confidence 0.75 · as of 2.101.2

vapor full menu as of 4.122.0
Details

serves it · confidence 0.85 · as of 4.122.0

serves it · confidence 0.85 · as of 4.122.0

serves it · confidence 0.80 · as of 4.122.0

serves it · confidence 0.80 · as of 4.122.0

serves it · confidence 0.75 · as of 4.122.0

  • WebSocketUpgrader
    Sources/Vapor/HTTP/Server/HTTPServerUpgradeHandler.swift:144
    View the line on GitHub →
    No visionOS gap recorded; no visionOS manifest floor, symbol evidence only.
  • RoutesBuilder.webSocket
    Sources/Vapor/Concurrency/WebSocket+Concurrency.swift:46
    View the line on GitHub →

serves it · confidence 0.85 · as of 4.122.0

  • WebSocketUpgrader
    Sources/Vapor/HTTP/Server/HTTPServerUpgradeHandler.swift:144
    View the line on GitHub →
    No linux gap recorded; digest evaluates linux (os(Linux)-conditional decls elsewhere in surface).
  • RoutesBuilder.webSocket
    Sources/Vapor/Concurrency/WebSocket+Concurrency.swift:46
    View the line on GitHub →

serves it · confidence 0.75 · as of 4.122.0

websocket-kit full menu as of 2.16.2
Details

serves it · confidence 0.90 · as of 2.16.2

serves it · confidence 0.90 · as of 2.16.2

serves it · confidence 0.90 · as of 2.16.2

serves it · confidence 0.90 · as of 2.16.2

serves it · confidence 0.75 · as of 2.16.2

  • WebSocket
    Sources/WebSocketKit/WebSocket.swift:9
    View the line on GitHub →
    Present per surface digest (no visionOS gap); no #if platform conditions anywhere in surface
  • WebSocket.connect
    Sources/WebSocketKit/WebSocket+Connect.swift:15
    View the line on GitHub →
    Client connection entry point, unconditional; no visionOS manifest floor declared, hence reduced confidence

serves it · confidence 0.85 · as of 2.16.2

  • WebSocket
    Sources/WebSocketKit/WebSocket.swift:9
    View the line on GitHub →
    Present per surface digest (no linux gap); SwiftNIO-based server-side package
  • WebSocket.server
    Sources/WebSocketKit/WebSocketHandler.swift:64
    View the line on GitHub →
    Server-side channel setup, unconditional
  • WebSocketClient.connect
    Sources/WebSocketKit/WebSocketClient.swift:66
    View the line on GitHub →
    Client connect API, unconditional

serves it · confidence 0.75 · as of 2.16.2

  • WebSocket
    Sources/WebSocketKit/WebSocket.swift:9
    View the line on GitHub →
    Present per surface digest (no macCatalyst gap); no #if platform conditions anywhere in surface
  • WebSocket.connect
    Sources/WebSocketKit/WebSocket+Connect.swift:15
    View the line on GitHub →
    Client connection entry point, unconditional; no explicit macCatalyst manifest floor, hence reduced confidence
apollo-ios as of 2.2.0
Details

serves it · confidence 0.90 · as of 2.2.0

serves it · confidence 0.90 · as of 2.2.0

serves it · confidence 0.90 · as of 2.2.0

serves it · confidence 0.90 · as of 2.2.0

serves it · confidence 0.90 · as of 2.2.0

?

not verified yet · confidence 0.30 · as of 2.2.0

  • Package.swift:7
    View the line on GitHub →
    platforms: [.iOS(.v15), .macOS(.v12), .tvOS(.v15), .watchOS(.v8), .visionOS(.v1)]
  • README platform badge lists iOS 15+ | macOS 12+ | tvOS 15+ | watchOS 8+ | visionOS 1+; Linux is not mentioned

serves it · confidence 0.80 · as of 2.2.0

  • WebSocketTransport
    Sources/ApolloWebSocket/WebSocketTransport.swift:5
    View the line on GitHub →
    Surface digest resolves this decl present on macCatalyst (no platform gap, no #if conditions anywhere in the surface); Package.swift declares no explicit macCatalyst floor (inherits iOS).
  • ApolloClient.subscribe
    Sources/Apollo/ApolloClient.swift:603
    View the line on GitHub →
  • GraphQLSubscription
    Sources/ApolloAPI/GraphQLOperation.swift:143
    View the line on GitHub →
Starscream as of 4.0.8
Details

serves it · confidence 0.80 · as of 4.0.8

serves it · confidence 0.80 · as of 4.0.8

serves it · confidence 0.70 · as of 4.0.8

serves it · confidence 0.75 · as of 4.0.8

serves it · confidence 0.65 · as of 4.0.8

?

not verified yet · confidence 0.30 · as of 4.0.8

  • historic Linux support has decayed; engine availability differs — unverified at this tag

serves it · confidence 0.75 · as of 4.0.8

✓ serves it · ◐ with conditions · ✕ not served (proven) · ? not verified yet — hover any verdict for the receipt, click to pin it