join 1.0
lightweight network framework library
Loading...
Searching...
No Matches
webbench.cpp File Reference
#include <join/httpclient.hpp>
#include <join/filesystem.hpp>
#include <join/thread.hpp>
#include <join/mutex.hpp>
#include <join/cache.hpp>
#include <join/utils.hpp>
#include <vector>
#include <regex>
#include <unistd.h>
Include dependency graph for webbench.cpp:

Classes

struct  BenchmarkContext
 

Functions

void version ()
 
void usage ()
 
template<class Client >
void benchmark (const std::string &host, uint16_t port, join::HttpRequest request, const std::string &file, int timeout, int max, bool verbose, BenchmarkContext &ctx)
 
int main (int argc, char *argv[])
 

Function Documentation

◆ benchmark()

template<class Client >
void benchmark ( const std::string & host,
uint16_t port,
join::HttpRequest request,
const std::string & file,
int timeout,
int max,
bool verbose,
BenchmarkContext & ctx )

◆ main()

int main ( int argc,
char * argv[] )

◆ usage()

void usage ( )

◆ version()

void version ( )