Why Meta Quest?
Design
Develop
API reference
Distribute and grow
Blog
Support
API reference
API reference
Select your platform
No SDKs available
No versions available
Overview
AudioClipAudioSource
ImageViewer
Lib
Meta
Audio
Conduit
Net
NativeWebSocket
NativeWebSocket
IWebSocket
MainThreadUtil
WaitForBackgroundThread
WaitForUpdate
WebSocket
WebSocketException
WebSocketFactory
WebSocketHelpers
WebSocketInvalidArgumentException
WebSocketInvalidStateException
WebSocketUnexpectedException
Voice
WitAi
Oculus
Code samples
Downloads
Release notes
Supported platforms
Meta
WebSocket Class
Extends
IWebSocket
Events
WebSocketOpenEventHandler
OnOpen
WebSocketMessageEventHandler
OnMessage
WebSocketErrorEventHandler
OnError
WebSocketCloseEventHandler
OnClose
Properties
WebSocketState
State
[Get]
Member Functions
WebSocket
( string url,
Dictionary< string, string > headers )
WebSocket
( string url,
string subprotocol,
Dictionary< string, string > headers )
WebSocket
( string url,
List< string > subprotocols,
Dictionary< string, string > headers )
void
CancelConnection
( )
async Task
Connect
( )
Task
Send
( byte [] bytes )
Task
SendText
( string message )
void
DispatchMessageQueue
( )
async Task
Receive
( )
async Task
Close
( )
Build with Meta
Social Technologies
Meta Horizon
AI
Worlds
About us
Careers
Research
Products
Virtual reality / Meta Horizon
Developer Blog
Download SDKs
Meta for Work
Programs
Start
Meta Horizon Creator Program
Discover
Why Meta Quest?
What is mixed reality?
Platforms and tools
2D apps for Meta Horizon OS
Devices
Meta Avatars
Success stories
Use cases
Support and legal
Developer policies
Legal
Privacy
Forums
Support
Build with Meta
Social Technologies
Meta Horizon
AI
Worlds
About us
Careers
Research
Products
Virtual reality / Meta Horizon
Developer Blog
Download SDKs
Meta for Work
Programs
Start
Meta Horizon Creator Program
Discover
Why Meta Quest?
What is mixed reality?
Platforms and tools
2D apps for Meta Horizon OS
Devices
Meta Avatars
Success stories
Use cases
Support and legal
Developer policies
Legal
Privacy
Forums
Support
Build with Meta
Social Technologies
Meta Horizon
AI
Worlds
About us
Careers
Research
Products
Virtual reality / Meta Horizon
Developer Blog
Download SDKs
Meta for Work
Programs
Start
Meta Horizon Creator Program
Discover
Why Meta Quest?
What is mixed reality?
Platforms and tools
2D apps for Meta Horizon OS
Devices
Meta Avatars
Success stories
Use cases
Support and legal
Developer policies
Legal
Privacy
Forums
Support
English (US)
© 2026 Meta