Linux sagir-us1.hostever.us 5.14.0-570.51.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 8 09:41:34 EDT 2025 x86_64
LiteSpeed
Server IP : 104.247.108.91 & Your IP : 216.73.216.26
Domains : 74 Domain
User : georgeto
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
local /
apps /
curl-7 /
include /
curl /
Delete
Unzip
Name
Size
Permission
Date
Action
curl.h
124.44
KB
-rw-r--r--
2023-01-11 06:42
curlver.h
3
KB
-rw-r--r--
2023-01-11 06:42
easy.h
3.95
KB
-rw-r--r--
2023-01-11 06:42
header.h
2.85
KB
-rw-r--r--
2023-01-11 06:42
mprintf.h
2.08
KB
-rw-r--r--
2023-01-11 06:42
multi.h
16.92
KB
-rw-r--r--
2023-01-11 06:42
options.h
2.36
KB
-rw-r--r--
2023-01-11 06:42
stdcheaders.h
1.34
KB
-rw-r--r--
2023-01-11 06:42
system.h
18.74
KB
-rw-r--r--
2023-01-11 06:42
typecheck-gcc.h
42.61
KB
-rw-r--r--
2023-01-11 06:42
urlapi.h
5.17
KB
-rw-r--r--
2023-01-11 06:42
websockets.h
2.63
KB
-rw-r--r--
2023-01-11 06:42
Save
Rename
#ifndef CURLINC_WEBSOCKETS_H #define CURLINC_WEBSOCKETS_H /*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | * / __| | | | |_) | | * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * * Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms * are also available at https://curl.se/docs/copyright.html. * * You may opt to use, copy, modify, merge, publish, distribute and/or sell * copies of the Software, and permit persons to whom the Software is * furnished to do so, under the terms of the COPYING file. * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY * KIND, either express or implied. * * SPDX-License-Identifier: curl * ***************************************************************************/ #ifdef __cplusplus extern "C" { #endif struct curl_ws_frame { int age; /* zero */ int flags; /* See the CURLWS_* defines */ curl_off_t offset; /* the offset of this data into the frame */ curl_off_t bytesleft; /* number of pending bytes left of the payload */ }; /* flag bits */ #define CURLWS_TEXT (1<<0) #define CURLWS_BINARY (1<<1) #define CURLWS_CONT (1<<2) #define CURLWS_CLOSE (1<<3) #define CURLWS_PING (1<<4) #define CURLWS_OFFSET (1<<5) /* * NAME curl_ws_recv() * * DESCRIPTION * * Receives data from the websocket connection. Use after successful * curl_easy_perform() with CURLOPT_CONNECT_ONLY option. */ CURL_EXTERN CURLcode curl_ws_recv(CURL *curl, void *buffer, size_t buflen, size_t *recv, struct curl_ws_frame **metap); /* sendflags for curl_ws_send() */ #define CURLWS_PONG (1<<6) /* * NAME curl_easy_send() * * DESCRIPTION * * Sends data over the websocket connection. Use after successful * curl_easy_perform() with CURLOPT_CONNECT_ONLY option. */ CURL_EXTERN CURLcode curl_ws_send(CURL *curl, const void *buffer, size_t buflen, size_t *sent, curl_off_t framesize, unsigned int sendflags); /* bits for the CURLOPT_WS_OPTIONS bitmask: */ #define CURLWS_RAW_MODE (1<<0) CURL_EXTERN struct curl_ws_frame *curl_ws_meta(CURL *curl); #ifdef __cplusplus } #endif #endif /* CURLINC_WEBSOCKETS_H */