HEX
Server: LiteSpeed
System: Linux server.searchcove.com 4.18.0-513.24.1.lve.2.el8.x86_64 #1 SMP Fri May 24 12:42:50 UTC 2024 x86_64
User: lurax (1083)
PHP: 8.3.30
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: //usr/include/nxt_unit_websocket.h
/*
 * Copyright (C) NGINX, Inc.
 */

#ifndef _NXT_UNIT_WEBSOCKET_H_INCLUDED_
#define _NXT_UNIT_WEBSOCKET_H_INCLUDED_

#include <inttypes.h>

#include "nxt_unit_typedefs.h"
#include "nxt_websocket_header.h"


struct nxt_unit_websocket_frame_s {
    nxt_unit_request_info_t  *req;

    uint64_t                  payload_len;
    nxt_websocket_header_t    *header;
    uint8_t                   *mask;

    nxt_unit_buf_t            *content_buf;
    uint64_t                  content_length;
};


#endif /* _NXT_UNIT_WEBSOCKET_H_INCLUDED_ */