aboutsummaryrefslogtreecommitdiff
path: root/zenserver/testing/httptest.h
Commit message (Collapse)AuthorAgeFilesLines
* Refactored websocket message.Per Larsson2022-02-211-1/+3
|
* Basic websocket service and test.Per Larsson2022-02-181-1/+3
|
* structured cache: fixed how HEAD requests are handledStefan Boberg2021-09-301-2/+4
| | | | | | the SetSuppressResponseBody() is currently sensitive to ordering and would end up getting called too late to apply fixes UE-129788, UE-129793
* Added simple compact binary endpoint for JSON testingStefan Boberg2021-09-271-1/+4
|
* Changed logging implementationStefan Boberg2021-09-151-1/+1
| | | | | | * Code should no longer directly `#include spdlog/spdlog.h`, instead use `#include <zencore/logging.h>` * Instead of explicit calls to `spdlog::info(...)` and such please use the logging macros defined in `zencore/logging.h`. I.e `ZEN_INFO`, `ZEN_DEBUG`, `ZEN_TRACE`, `ZEN_ERROR`, `ZEN_CRITITCAL` * The macros will pick up the "most local" logger via a `Log()` call to retrieve a logger instance. To override the default logger in a class please implement your own `Log()` function
* Changed direct includes of spdlog/spdlog.h into zencore/logging.h to make it ↵Stefan Boberg2021-09-151-2/+1
| | | | easier to tweak implementation
* Changed interface for httpServerRequest::SessionId()/RequestId() so they ↵Stefan Boberg2021-09-131-5/+12
| | | | | | | | | | | | | | share storage and lazy eval logic They now call into ParseSessionId()/ParseRequestId() when required Eliminates redundant logic in derived implementations Also moved package transport code into httpshared.(cpp|h) for easier sharing with client code Added some I/O error reporting in http.sys related code Changed IHttpPackageHandler interface to support partially updated handling flow
* Package filtering related test codeStefan Boberg2021-09-131-2/+15
|
* HttpResponse enum -> HttpResponseCodeStefan Boberg2021-09-121-7/+0
| | | | Also removed initial CbPackage API HttpServer changes as I have decided to take a different approach
* Factored out http server related code into zenhttp module since it feels out ↵Stefan Boberg2021-09-091-1/+1
| | | | of place in zencore
* Introduced dedicated HTTP testing service, used during development to ↵Stefan Boberg2021-09-081-0/+34
exercise the server framework