s&
family_star
About
newspaper
Blog
published_with_changes
Changes
games
Games
business_center
Workshop
sprint
Dashboard
sprint
Game Charts
delivery_truck_speed
Map Charts
forum
Forum
docs
Docs
docs
Documentation
dashboard
Api Reference
input
Log in with Steam
chevron_left
Change Language
简体中文
English
Русский
Español
Português-Brasil
Deutsch
日本語
Français
Polski
Türkçe
한국어
Pirate
Italiano
ไทย
繁體中文
Українська
Čeština
Nederlands
Magyar
Dansk
Suomi
Svenska
Norsk
Ελληνικά
Română
Български
Tiếng Việt
Bahasa Indonesia
Español-Latinoamérica
العربية
Constructors
functions
WebSocket
Properties
data_object
EnableCompression
data_object
IsConnected
data_object
SubProtocol
Methods
functions
AddSubProtocol
functions
Connect
functions
Dispose
functions
Send
menu
Api
Classes
WebSocket
Send
System.Threading.Tasks.ValueTask
Send
(
string
message
)
Summary
Sends a text message to the WebSocket server.
System.Threading.Tasks.ValueTask
Send
(
System.Byte[]
data
)
Summary
Sends a binary message to the WebSocket server.
Remarks
The
M:Sandbox.WebSocket.Send(System.ArraySegment{System.Byte})
and
M:Sandbox.WebSocket.Send(System.Span{System.Byte})
overloads allow sending subsections of byte arrays.
System.Threading.Tasks.ValueTask
Send
(
System.ArraySegment
<
System.Byte
>
data
)
System.Threading.Tasks.ValueTask
Send
(
System.Span
<
System.Byte
>
data
)
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.