Reimplementd IX with OpenSSL

This commit is contained in:
Kilian committed 2022-09-05 01:41:09 +02:00
1 parent 5e80c41538
commit 71656e4a66
214 files changed
+44919 -99

No files matched your search

@@ -0,0 +1,23 @@
/*
* IXWebSocketHttpHeaders.h
* Author: Benjamin Sergeant
* Copyright (c) 2018 Machine Zone, Inc. All rights reserved.
*/
#pragma once
#include "IXCancellationRequest.h"
#include "IXStrCaseCompare.h"
#include <map>
#include <memory>
#include <string>
namespace ix
{
class Socket;
using WebSocketHttpHeaders = std::map<std::string, std::string, CaseInsensitiveLess>;
std::pair<bool, WebSocketHttpHeaders> parseHttpHeaders(
std::unique_ptr<Socket>& socket, const CancellationRequest& isCancellationRequested);
} // namespace ix