curl-fuzzer C++ reference
Loading...
Searching...
No Matches
ws_frame.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) Max Dymond, <cmeister2@gmail.com>, et al.
3
*
4
* SPDX-License-Identifier: curl
5
*/
6
9
10
#ifndef PROTO_FUZZER_WS_FRAME_H_
11
#define PROTO_FUZZER_WS_FRAME_H_
12
13
#include <string>
14
15
#include "curl_fuzzer.pb.h"
16
17
namespace
proto_fuzzer {
18
19
std::string
SerializeWebSocketFrame
(
const
curl::fuzzer::proto::WebSocketFrame& frame);
20
21
}
// namespace proto_fuzzer
22
23
#endif
// PROTO_FUZZER_WS_FRAME_H_
proto_fuzzer::SerializeWebSocketFrame
std::string SerializeWebSocketFrame(const curl::fuzzer::proto::WebSocketFrame &frame)
Serialise a proto WebSocketFrame into RFC 6455 wire bytes.
Definition
ws_frame.cc:59
proto_fuzzer
ws_frame.h
Generated by
1.15.0