Update cmake
parent
84e9f93ea4
commit
b1e6a85e58
|
@ -1,3 +1,4 @@
|
||||||
|
include_directories(GSock-Pro)
|
||||||
add_subdirectory(GSock-Pro)
|
add_subdirectory(GSock-Pro)
|
||||||
add_library(LibWS sha1.cpp websocket.cpp)
|
add_library(LibWS sha1.cpp websocket.cpp)
|
||||||
target_link_libraries(GSock-Pro)
|
target_link_libraries(GSock-Pro)
|
|
@ -1,5 +1,5 @@
|
||||||
#include "websocket.h"
|
#include "websocket.h"
|
||||||
#include "GSock/gsock_helper.h" // GSock
|
#include "gsock_helper.h" // GSock
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <string>
|
#include <string>
|
||||||
#include "GSock/gsock.h"
|
#include "gsock.h"
|
||||||
|
|
||||||
// 获取Sec-WebSocket-Key的结果
|
// 获取Sec-WebSocket-Key的结果
|
||||||
std::string GetResponseKey(const std::string& key);
|
std::string GetResponseKey(const std::string& key);
|
||||||
|
|
Loading…
Reference in New Issue