---
title: "Websocket Tools - s&box library"
description: "A library that is designed to help simplify the process of interacting with Websockets"
canonical: "https://sbox.watch/ru/libraries/nolankicks/websocket_tools/"
generated_at: "2026-10-09T10:49:13.972Z"
---

# Websocket Tools

A library that is designed to help simplify the process of interacting with Websockets

- Тип: библиотека
- Идентификатор: nolankicks.websocket_tools
- Автор: kicks
- Канонический URL: https://sbox.watch/ru/libraries/nolankicks/websocket_tools/
- Markdown: https://sbox.watch/ru/libraries/nolankicks/websocket_tools/index.md
- sbox.game: https://sbox.game/nolankicks/websocket_tools/
- Создано: 2026-10-09T10:49:13.972Z

## Статистика

- динамика за 24 ч: +0
- Terry Score: 43%
- Избранное: 2
- Положительные оценки: 2
- Отрицательные оценки: 0
- Обновлено: 16 авг. 2024 г.
- Создано: 7 июл. 2024 г.
- Размер: 75.5 KB
- Файлы: 23
- Теги: 

## Описание

About Websocket Tools

This library is designed to help simplify the process of interacting with Websockets.
You are able to serialize text into a json or send a string.

Source: https://github.com/Nolankicks/sbox-websocket-tools

API

public class WebsocketTools
{
 //The websocket URL
 string url;
 //Where you want to fetch from the websocket, not used in Send()
 public enum Fetch
 {
 OnUpdate,
 OnFixedUpdate,
 OnStart,
 }
 //An action called when a message is recived from the websocket
 public delegate void OnMessageReceived( string message );
 //A game resource that holds Json or string data to be send to the Websocket
 public WebsocketMessage message;
}

public class WebSocketUtility
{
 //Sends a message over a websocket connection
 public static async Task SendAsync( WebsocketTools websocketTools );
 //Sends a string over a websocket connection
 public static async Task SendStringAsync( string url, string message )
}




## More by kicks

| Package | Идентификатор | Игроки | Избранное | Положительные оценки | Оценка | Markdown |
| --- | --- | --- | --- | --- | --- | --- |
| Opium Postprocess | nolankicks.opiumpostprocess | 0 | 5 | 5 | 65% | https://sbox.watch/ru/libraries/nolankicks/opiumpostprocess/index.md |
| Screen Shot Library | nolankicks.screenshotlibrary | 0 | 3 | 2 | 43% | https://sbox.watch/ru/libraries/nolankicks/screenshotlibrary/index.md |
| No Clip Library | nolankicks.noclip | 0 | 3 | 0 | -- | https://sbox.watch/ru/libraries/nolankicks/noclip/index.md |
| Kicks' Component Collection | nolankicks.kickscomponents | 0 | 1 | 0 | -- | https://sbox.watch/ru/libraries/nolankicks/kickscomponents/index.md |
| Scene Loading Utility | nolankicks.sceneloadingutility | 0 | 0 | 0 | -- | https://sbox.watch/ru/libraries/nolankicks/sceneloadingutility/index.md |
