mirror of
https://github.com/Mercantec-GHC/h5-projekt-mst.git
synced 2026-08-27 05:37:39 +02:00
fix formatting
This commit is contained in:
parent
1e9740e544
commit
f8412ec21e
@ -21,8 +21,9 @@ auto Client::wake() -> Result<void>
|
|||||||
return { };
|
return { };
|
||||||
}
|
}
|
||||||
|
|
||||||
auto Server::bind(mst::event::Manager& mgr, const std::string& host,
|
auto Server::bind(
|
||||||
uint16_t port) -> Result<void>
|
mst::event::Manager& mgr, const std::string& host, uint16_t port)
|
||||||
|
-> Result<void>
|
||||||
{
|
{
|
||||||
auto x = TcpListener::bind(host, port);
|
auto x = TcpListener::bind(host, port);
|
||||||
if (!x) {
|
if (!x) {
|
||||||
|
|||||||
@ -8,8 +8,9 @@ namespace mst {
|
|||||||
class Server {
|
class Server {
|
||||||
public:
|
public:
|
||||||
auto wake(mst::event::Manager& mgr) -> Result<void>;
|
auto wake(mst::event::Manager& mgr) -> Result<void>;
|
||||||
static auto bind(mst::event::Manager& mgr, const std::string& host,
|
static auto bind(
|
||||||
uint16_t port) -> Result<void>;
|
mst::event::Manager& mgr, const std::string& host, uint16_t port)
|
||||||
|
-> Result<void>;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
TcpListener listener;
|
TcpListener listener;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user