Buttplug.Client.Connectors.WebsocketConnector 3.0.1

Suggested Alternatives

Buttplug

Additional Details

As of Buttplug v3.1.0, ButtplugWebsocketConnector uses System.Net.Websocket and is now part of the Buttplug.Client module in the Buttplug package. With the external dependency removed, the separate package is no longer needed and has been deprecated.

dotnet add package Buttplug.Client.Connectors.WebsocketConnector --version 3.0.1                
NuGet\Install-Package Buttplug.Client.Connectors.WebsocketConnector -Version 3.0.1                
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="Buttplug.Client.Connectors.WebsocketConnector" Version="3.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Buttplug.Client.Connectors.WebsocketConnector --version 3.0.1                
#r "nuget: Buttplug.Client.Connectors.WebsocketConnector, 3.0.1"                
#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.
// Install Buttplug.Client.Connectors.WebsocketConnector as a Cake Addin
#addin nuget:?package=Buttplug.Client.Connectors.WebsocketConnector&version=3.0.1

// Install Buttplug.Client.Connectors.WebsocketConnector as a Cake Tool
#tool nuget:?package=Buttplug.Client.Connectors.WebsocketConnector&version=3.0.1                

Buttplug C# - Client Only Implementation

Patreon donate button Github donate button Discourse Forums Discord Twitter

<div align="center"> <h3> <a href="https://buttplug-csharp.docs.buttplug.io"> C# API Docs </a> <span> | </span> <a href="https://docs.buttplug.io/docs/spec"> Protocol Spec </a> <span> | </span> <a href="https://docs.buttplug.io/docs/dev-guide"> Developer Guide </a> </h3> </div> <div align="center"> <h3> <a href="https://how.do.i.get.buttplug.in"> User FAQ </a> <span> | </span> <a href="https://awesome.buttplug.io"> Apps/Games Using Buttplug </a> </h3> </div>

This repo houses are pure .Net version of the Buttplug C# Client, runnings the Version 3 Buttplug Spec. It is expected to run against either Intiface Central (GUI) or Initface Engine (CLI). No Rust FFI bindings are required.

What happened? Why is buttplug-csharp back?

For those of you that have been around a while, you may remember that this used to be the main C# implementation. From 2017 to 2020, it was the reference version of the Buttplug Intimate Haptics Control Standard.

Then I rewrote everything in Rust because I like Rust more and it's far easier for me to port across platforms. This repo was archived ~2 years ago in preference to seating the C# client and server on top of the Rust implementation of Buttplug, as part of the Rust FFI Project.

That project ended up being a partial failure.

While the FFI system is handy for languages where it is very difficult to rebuild some parts of the library (C/C++/Java/etc...), for managed langauges like Javascript and C#, requiring both the client and server to use the FFI was overkill, and caused many extremely difficult-to-debug issues. With that in mind, the C# implementation is being turned into a Client only, .Net native implementation that should run on all platforms.

The embedded server/connector is no longer built for C#. It's too difficult for me to keep the package up for all of the needed architectures, and debugging it was hell. For now, I'm recommending developers point their users at Intiface Central as a hub application. If you have a reason for needing an embedded server in C#, leave an issue on this repo and we can discuss.

Documentation and Examples

API Documentation is available at [https://buttplug-csharp.docs.buttplug.io].

C# Usage Examples are available in the Buttplug Developer Guide, with source code and VS projects in the Dev Guide Repo.

Didn't ManagedButtplugIo already do this?

ManagedButtplugIo is a community produced, .Net native version of the Buttplug C# API, modeled off the FFI (which itself was modeled off of the original C# API). It's been helping the community along while the C# FFI implementation went off a cliff.

They did a very good job and I'm very appreicative of it (and I've used it in some of my own projects)!

The main reason I'm still keeping up my own C# client is that this is a big part of a LOT of the systems I maintain, like the Unity plugin. As part of how I fund this project is consulting on those, I need an implementation I'm responsible for. That said, this doesn't have to be the only implementation, and I'll still be keeping all imeplementations listed both in this README and on our Awesome List

Nuget and Packages

In order to reduce the amount of required dependencies, Buttplug is currently split into 3 Nuget packages.

  • Buttplug - The Client Implemenation. Only dependency is NewtonsonJSON and Microsoft.CSharp 4.7
  • Buttplug.Client.Connectors.WebsocketConnector
    • A Websocket connector built in top of WebsocketListener. While a websocket implementation is very much needed to use the client libraries, This is kept as a seperate dependency in case developers want to use a connector built on top of another Websocket library that may work better with or is already integrated in their setup (Like WebsocketSharp).
  • Buttplug.Util.WebsocketDevice (Not yet available) - This is a test package that allows simulation of devices via the Buttplug Websocket Device Manager. More info about this can be found in The Buttplug Developer Guide.

Contributing

If you have issues or feature requests, please feel free to file an issue on this repo.

We are not looking for code contributions or pull requests at this time, and will not accept pull requests that do not have a matching issue where the matter was previously discussed. Pull requests should only be submitted after talking to qdot via issues on this repo (or on discourse or discord if you would like to stay anonymous and out of recorded info on the repo) before submitting PRs. Random PRs without matching issues and discussion are likely to be closed without merging. and receiving approval to develop code based on an issue. Any random or non-issue pull requests will most likely be closed without merging.

If you'd like to contribute in a non-technical way, we need money to keep up with supporting the latest and greatest hardware. We have multiple ways to donate!

License

This project is BSD 3-Clause licensed.


Copyright (c) 2016-2023, Nonpolynomial, LLC
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this
  list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice,
  this list of conditions and the following disclaimer in the documentation
  and/or other materials provided with the distribution.

* Neither the name of buttplug nor the names of its
  contributors may be used to endorse or promote products derived from
  this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Buttplug.Client.Connectors.WebsocketConnector:

Package Downloads
CStreamer.Plugins.Buttplug

Package Description

BasicButtManager

The lower-level, framework-dependent (.NET 4) driver library for ButtServer.

Edi.Core

Edi.Core is a library that provides an effective way to control and manage devices through a simple Gallery sistem. It is ideal for applications like Games that require detailed and flexible control over the devices.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Buttplug.Client.Connectors.WebsocketConnector:

Repository Stars
RonSijm/ButtFish
Effortlessly transmitting Morse Code of chess moves to your butthole 💝
Version Downloads Last updated
3.0.1 2,357 7/22/2023 3.0.1 is deprecated because it is no longer maintained.
3.0.0 1,735 12/31/2022 3.0.0 is deprecated because it is no longer maintained.
3.0.0-alpha1 677 12/29/2022 3.0.0-alpha1 is deprecated because it is no longer maintained.
3.0.0-alpha0 676 12/29/2022 3.0.0-alpha0 is deprecated because it is no longer maintained.
0.5.9 1,851 6/18/2020 0.5.9 is deprecated because it is no longer maintained.
0.5.8 982 6/17/2020 0.5.8 is deprecated because it is no longer maintained.
0.5.7.1027-dev-38e2e28 875 5/14/2020 0.5.7.1027-dev-38e2e28 is deprecated because it is no longer maintained.
0.5.7 991 5/14/2020 0.5.7 is deprecated because it is no longer maintained.
0.5.6 1,306 12/11/2019 0.5.6 is deprecated because it is no longer maintained.
0.5.5 1,021 12/7/2019 0.5.5 is deprecated because it is no longer maintained.
0.5.4.769-dev-4bb0dd3 899 12/7/2019 0.5.4.769-dev-4bb0dd3 is deprecated because it is no longer maintained.
0.5.4.766-dev-fa90db1 908 12/7/2019 0.5.4.766-dev-fa90db1 is deprecated because it is no longer maintained.
0.5.4 1,011 11/27/2019 0.5.4 is deprecated because it is no longer maintained.
0.5.3.781-dev-7b367ea 942 12/11/2019 0.5.3.781-dev-7b367ea is deprecated because it is no longer maintained.
0.5.3.778-dev-fb73beb 918 12/10/2019 0.5.3.778-dev-fb73beb is deprecated because it is no longer maintained.
0.5.3.760-dev-f2c0e4b 938 11/27/2019 0.5.3.760-dev-f2c0e4b is deprecated because it is no longer maintained.
0.5.3.759-dev-7e395cb 866 11/27/2019 0.5.3.759-dev-7e395cb is deprecated because it is no longer maintained.
0.5.3 1,715 10/3/2019 0.5.3 is deprecated because it is no longer maintained.
0.5.2 1,065 10/3/2019 0.5.2 is deprecated because it is no longer maintained.
0.5.1.725-dev-bc25b80 909 11/11/2019 0.5.1.725-dev-bc25b80 is deprecated because it is no longer maintained.
0.5.1.724-dev-7adc8a6 920 11/11/2019 0.5.1.724-dev-7adc8a6 is deprecated because it is no longer maintained.
0.5.1 1,018 9/27/2019 0.5.1 is deprecated because it is no longer maintained.
0.5.0.667-dev-fccf1d6 917 9/27/2019 0.5.0.667-dev-fccf1d6 is deprecated because it is no longer maintained.
0.5.0.666-dev-9220493 903 9/26/2019 0.5.0.666-dev-9220493 is deprecated because it is no longer maintained.
0.5.0.665-dev-f7db350 937 9/26/2019 0.5.0.665-dev-f7db350 is deprecated because it is no longer maintained.
0.5.0 1,106 7/29/2019 0.5.0 is deprecated because it is no longer maintained.
0.4.7.647-dev-a6c4653 924 7/29/2019 0.4.7.647-dev-a6c4653 is deprecated because it is no longer maintained.
0.4.7.646-dev-74df418 916 7/29/2019 0.4.7.646-dev-74df418 is deprecated because it is no longer maintained.
0.4.7.643-dev-29bdc22 902 7/28/2019 0.4.7.643-dev-29bdc22 is deprecated because it is no longer maintained.
0.4.7.639-dev-1b5ec5a 909 7/28/2019 0.4.7.639-dev-1b5ec5a is deprecated because it is no longer maintained.
0.4.7.638-dev-9372114 929 7/28/2019 0.4.7.638-dev-9372114 is deprecated because it is no longer maintained.
0.4.7.637-dev-056d55a 923 7/28/2019 0.4.7.637-dev-056d55a is deprecated because it is no longer maintained.
0.4.7.636-dev-bf90a31 922 7/28/2019 0.4.7.636-dev-bf90a31 is deprecated because it is no longer maintained.
0.4.7 1,234 7/1/2019 0.4.7 is deprecated because it is no longer maintained.
0.4.6 1,163 5/28/2019 0.4.6 is deprecated because it is no longer maintained.
0.4.5.574-dev-6ea2a60 923 5/28/2019 0.4.5.574-dev-6ea2a60 is deprecated because it is no longer maintained.
0.4.5 1,056 5/26/2019 0.4.5 is deprecated because it is no longer maintained.
0.4.4.561-dev-272e417 947 5/26/2019 0.4.4.561-dev-272e417 is deprecated because it is no longer maintained.
0.4.4 1,136 5/21/2019 0.4.4 is deprecated because it is no longer maintained.
0.4.3.548-dev-52e1063 974 5/21/2019 0.4.3.548-dev-52e1063 is deprecated because it is no longer maintained.
0.4.3.545-dev-13b27d1 967 5/16/2019 0.4.3.545-dev-13b27d1 is deprecated because it is no longer maintained.
0.4.3.453-dev-d7cd385 1,293 4/2/2019 0.4.3.453-dev-d7cd385 is deprecated because it is no longer maintained.
0.4.3.448-dev-b49645e 1,059 3/31/2019 0.4.3.448-dev-b49645e is deprecated because it is no longer maintained.
0.4.3 1,197 3/31/2019 0.4.3 is deprecated because it is no longer maintained.
0.4.2.444-dev-a8557c5 1,033 3/31/2019 0.4.2.444-dev-a8557c5 is deprecated because it is no longer maintained.
0.4.2.412-dev-225d192 1,054 3/30/2019 0.4.2.412-dev-225d192 is deprecated because it is no longer maintained.
0.4.2.398-dev-2f71705 1,095 3/29/2019 0.4.2.398-dev-2f71705 is deprecated because it is no longer maintained.
0.4.2.396-dev-cfe4956 1,022 3/29/2019 0.4.2.396-dev-cfe4956 is deprecated because it is no longer maintained.
0.4.2.378-dev-449c2f0 1,037 3/28/2019 0.4.2.378-dev-449c2f0 is deprecated because it is no longer maintained.
0.4.2 1,281 3/16/2019 0.4.2 is deprecated because it is no longer maintained.
0.4.1.327-dev-16da3c0 982 3/16/2019 0.4.1.327-dev-16da3c0 is deprecated because it is no longer maintained.
0.4.1 1,219 3/9/2019 0.4.1 is deprecated because it is no longer maintained.
0.4.0.313-dev-8f27d52 1,004 3/9/2019 0.4.0.313-dev-8f27d52 is deprecated because it is no longer maintained.
0.4.0.295-dev-d91d568 1,003 3/9/2019 0.4.0.295-dev-d91d568 is deprecated because it is no longer maintained.
0.4.0.271-dev-7bbe7ce 1,065 3/9/2019 0.4.0.271-dev-7bbe7ce is deprecated because it is no longer maintained.
0.4.0.269-dev-3c8ddcd 1,027 3/8/2019 0.4.0.269-dev-3c8ddcd is deprecated because it is no longer maintained.
0.4.0.230-dev-4bd083f 1,061 3/5/2019 0.4.0.230-dev-4bd083f is deprecated because it is no longer maintained.
0.4.0.229-dev-ec7ddfd 1,023 3/5/2019 0.4.0.229-dev-ec7ddfd is deprecated because it is no longer maintained.
0.4.0.207-dev-b275ae2 1,048 3/4/2019 0.4.0.207-dev-b275ae2 is deprecated because it is no longer maintained.
0.4.0.205-dev-d8d9dd8 1,015 3/4/2019 0.4.0.205-dev-d8d9dd8 is deprecated because it is no longer maintained.
0.4.0.201-dev-ca5478d 1,043 2/27/2019 0.4.0.201-dev-ca5478d is deprecated because it is no longer maintained.
0.4.0.173-dev-b926e79 997 2/23/2019 0.4.0.173-dev-b926e79 is deprecated because it is no longer maintained.
0.4.0 1,222 2/15/2019 0.4.0 is deprecated because it is no longer maintained.
0.3.3.903-master 1,091 1/30/2019 0.3.3.903-master is deprecated because it is no longer maintained.
0.3.3.890-master 1,152 1/14/2019 0.3.3.890-master is deprecated because it is no longer maintained.
0.3.3.134-master-8df5e8e 1,123 2/15/2019 0.3.3.134-master-8df5e8e is deprecated because it is no longer maintained.
0.3.3.133-master-1f76aee 1,118 2/15/2019 0.3.3.133-master-1f76aee is deprecated because it is no longer maintained.
0.3.3.132-dev-8df5e8e 1,059 2/15/2019 0.3.3.132-dev-8df5e8e is deprecated because it is no longer maintained.
0.3.3.130-dev-1f76aee 1,109 2/15/2019 0.3.3.130-dev-1f76aee is deprecated because it is no longer maintained.
0.3.3.128-dev-d238a76 1,125 2/14/2019 0.3.3.128-dev-d238a76 is deprecated because it is no longer maintained.
0.3.3 1,254 1/14/2019 0.3.3 is deprecated because it is no longer maintained.
0.3.3-dev-ea11cd7 1,082 2/14/2019 0.3.3-dev-ea11cd7 is deprecated because it is no longer maintained.
0.3.3-dev-a1e94ac 1,120 2/14/2019 0.3.3-dev-a1e94ac is deprecated because it is no longer maintained.
0.3.3-dev-9350e38 1,060 2/14/2019 0.3.3-dev-9350e38 is deprecated because it is no longer maintained.
0.3.3-dev-54ee365 1,041 2/14/2019 0.3.3-dev-54ee365 is deprecated because it is no longer maintained.
0.3.3-dev-2da6a05 1,081 2/14/2019 0.3.3-dev-2da6a05 is deprecated because it is no longer maintained.
0.3.2.874-master 1,129 11/24/2018 0.3.2.874-master is deprecated because it is no longer maintained.
0.3.2 1,302 11/24/2018 0.3.2 is deprecated because it is no longer maintained.
0.3.1.869-master 1,221 11/9/2018 0.3.1.869-master is deprecated because it is no longer maintained.
0.3.1 1,296 11/9/2018 0.3.1 is deprecated because it is no longer maintained.
0.3.0.864-master 1,173 11/4/2018 0.3.0.864-master is deprecated because it is no longer maintained.
0.3.0.861-master 1,154 11/4/2018 0.3.0.861-master is deprecated because it is no longer maintained.
0.3.0 1,400 11/4/2018 0.3.0 is deprecated because it is no longer maintained.
0.2.3.858-master 1,217 11/4/2018 0.2.3.858-master is deprecated because it is no longer maintained.
0.2.3.853-master 1,147 11/3/2018 0.2.3.853-master is deprecated because it is no longer maintained.
0.2.3.849-master 1,153 11/2/2018 0.2.3.849-master is deprecated because it is no longer maintained.
0.2.3.848-master 1,156 11/2/2018 0.2.3.848-master is deprecated because it is no longer maintained.
0.2.3.844-master 1,164 11/2/2018 0.2.3.844-master is deprecated because it is no longer maintained.
0.2.3.842-master 1,176 10/29/2018 0.2.3.842-master is deprecated because it is no longer maintained.
0.2.3.840-master 1,126 10/25/2018 0.2.3.840-master is deprecated because it is no longer maintained.
0.2.3.833-master 1,154 10/21/2018 0.2.3.833-master is deprecated because it is no longer maintained.
0.2.3.823-master 1,174 10/19/2018 0.2.3.823-master is deprecated because it is no longer maintained.
0.2.3.812-master 1,171 10/13/2018 0.2.3.812-master is deprecated because it is no longer maintained.
0.2.3.803-master 1,172 9/30/2018 0.2.3.803-master is deprecated because it is no longer maintained.
0.2.3.801-master 1,131 9/24/2018 0.2.3.801-master is deprecated because it is no longer maintained.
0.2.3.799-master 1,209 9/23/2018 0.2.3.799-master is deprecated because it is no longer maintained.