Merge branch 'master' into feature/http

This commit is contained in:
Benjamin Sergeant 2019-02-28 21:53:52 -08:00 committed by GitHub
commit 73f4ba7ee7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 7 deletions

View File

@ -13,10 +13,6 @@ docker:
run:
docker run --cap-add sys_ptrace -it broadcast_server:latest bash
# this is helpful to remove trailing whitespaces
trail:
sh third_party/remove_trailing_whitespaces.sh
# this is helpful to remove trailing whitespaces
trail:
sh third_party/remote_trailing_whitespaces.sh

View File

@ -9,6 +9,10 @@
//
#include "ws.h"
//
// Main drive for websocket utilities
//
#include <string>
#include <sstream>
#include <iostream>
@ -41,7 +45,6 @@ int main(int argc, char** argv)
sendApp->add_option("url", url, "Connection url")->required();
sendApp->add_option("path", path, "Path to the file to send")
->required()->check(CLI::ExistingPath);
CLI::App* receiveApp = app.add_subcommand("receive", "Receive a file");
receiveApp->add_option("url", url, "Connection url")->required();

View File

@ -5,9 +5,10 @@
*/
//
// Simple chat program that talks to the node.js server at
// websocket_chat_server/broacast-server.js
// Simple chat program that talks to a broadcast server
// Broadcast server can be ran with `ws broadcast_server`
//
#include <iostream>
#include <sstream>
#include <queue>