Net.WebSockets API inventory
Provides WebSocket client, framing, state, options, close status, and result types over native networking.
Ownership and selection
| Fact | Pinned value |
|---|---|
| Physical owner | modules/net-websockets |
| CMake target | SharpRuntime::Net.WebSockets |
| Component kind | static |
| Direct production dependencies | ComponentModel, Core.Base, Net, Net.Sockets, Threading, Threading.Tasks, Uri |
| External dependency | None |
| Public headers | 12 |
| Production sources | 1 |
Select the component
set(SHARP_RUNTIME_COMPONENTS Net.WebSockets)
set(SHARP_RUNTIME_BUILD_TESTS OFF CACHE BOOL "" FORCE)
add_subdirectory(sharp-runtime)
target_link_libraries(app PRIVATE SharpRuntime::Net.WebSockets)Compatibility and platform notes
Supports ws:// transport at the pinned source. wss:// requires TLS that the current runtime does not provide, and async owner lifetime must remain explicit.
Implementation-status evidence
The owning module contains 6 C++ test sources and participates in a physical component test executable. Source-file count is not a discovered-test count.
This page deliberately reports source and test topology instead of a hand-authored Done/Partial maturity badge. Consult limitations and subsystem documentation for material behavioral reductions.
Public header and entry inventory
This complete list is derived from modules/net-websockets/include. Each filename is a public discovery entry; it may declare more than one type, and it does not imply method-level .NET parity.
System::Net::WebSockets12 public headers
System/Net/WebSockets/ClientWebSocket.hppSystem/Net/WebSockets/ClientWebSocketOptions.hppSystem/Net/WebSockets/ValueWebSocketReceiveResult.hppSystem/Net/WebSockets/WebSocket.hppSystem/Net/WebSockets/WebSocketCloseStatus.hppSystem/Net/WebSockets/WebSocketCreationOptions.hppSystem/Net/WebSockets/WebSocketError.hppSystem/Net/WebSockets/WebSocketException.hppSystem/Net/WebSockets/WebSocketMessageFlags.hppSystem/Net/WebSockets/WebSocketMessageType.hppSystem/Net/WebSockets/WebSocketReceiveResult.hppSystem/Net/WebSockets/WebSocketState.hpp