FSharp.FIO.WebSockets
0.0.40-alpha
This is a prerelease version of FSharp.FIO.WebSockets.
dotnet add package FSharp.FIO.WebSockets --version 0.0.40-alpha
NuGet\Install-Package FSharp.FIO.WebSockets -Version 0.0.40-alpha
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="FSharp.FIO.WebSockets" Version="0.0.40-alpha" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="FSharp.FIO.WebSockets" Version="0.0.40-alpha" />
<PackageReference Include="FSharp.FIO.WebSockets" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add FSharp.FIO.WebSockets --version 0.0.40-alpha
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: FSharp.FIO.WebSockets, 0.0.40-alpha"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package FSharp.FIO.WebSockets@0.0.40-alpha
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=FSharp.FIO.WebSockets&version=0.0.40-alpha&prerelease
#tool nuget:?package=FSharp.FIO.WebSockets&version=0.0.40-alpha&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
FSharp.FIO.WebSockets
WebSocket library for FSharp.FIO, the type-safe functional effect system for F#.
Installation
dotnet add package FSharp.FIO.WebSockets
Requires the core FSharp.FIO package.
Features
- WebSocket Client - Connect to WebSocket servers
- WebSocket Server - Accept incoming WebSocket connections
- Connection Pooling - Efficient connection reuse
- Codec Support - Encode/decode messages with custom codecs
Quick Example
open FSharp.FIO.DSL
open FSharp.FIO.WebSockets
let client = fio {
use! ws = WebSocketClient.connect "ws://localhost:8080/ws"
do! WebSocket.sendText ws "Hello, server!"
let! response = WebSocket.receiveText ws
return response
}
Documentation
See the FIO repository for full documentation.
License
MIT License - see LICENSE.md
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- FSharp.Core (>= 10.0.102)
- FSharp.FIO (>= 0.0.40-alpha)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.0.40-alpha | 50 | 1/22/2026 |