NAWA 0.9
Web Application Framework for C++
sessiontest.cpp File Reference

Test simultaneous access to session variables in multi-threading environments. Use curl, for example, to simulate simultaneous accesses (see tests/sessiontest.sh for an example). More...

#include <nawa/application.h>
#include <random>

Go to the source code of this file.

Functions

int init (AppInit &appInit)
 
int handleRequest (Connection &connection)
 

Detailed Description

Test simultaneous access to session variables in multi-threading environments. Use curl, for example, to simulate simultaneous accesses (see tests/sessiontest.sh for an example).

Definition in file sessiontest.cpp.

Function Documentation

◆ init()

int init ( AppInit appInit)

Definition at line 31 of file sessiontest.cpp.

◆ handleRequest()

int handleRequest ( Connection connection)

Definition at line 36 of file sessiontest.cpp.