eidheim / Simple-WebSocket-Server

A very simple, fast, multithreaded, platform independent WebSocket (WS) and WebSocket Secure (WSS) server and client library implemented using C++11, Boost.Asio and OpenSSL. Created to be an easy way to make WebSocket endpoints in C++.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

crypto.h has link error

fndisme opened this issue · comments

inline std::string encode(const std::string &ascii) {
all the function should be inline or will have link error if two cpp file include it

Thank you, I'll fix it soon. I always forget inline. Maybe use class instead and make the methods static?

I'm not sure which is better :-) .