1
0
mirror of https://github.com/ohwgiles/laminar.git synced 2024-09-27 22:13:43 +00:00
ohwgiles_laminar/test
Oliver Giles 39ca7e86cf replace websockets with sse and refactor
Large refactor that more closely aligns the codebase to the kj async
style, more clearly exposes an interface for functional testing and
removes cruft. There is a slight increase in coupling between the
Laminar and Http/Rpc classes, but this was always an issue, just until
now more obscured by the arbitrary pure virtual LaminarInterface class
(which has been removed in this change) and the previous lumping
together of all the async stuff in the Server class (which is now
more spread around the code according to function).

This change replaces the use of Websockets with Server Side Events
(SSE). They are simpler and more suitable for the publish-style messages
used by Laminar, and typically require less configuration of the
reverse proxy HTTP server.

Use of gmock is also removed, which eases testing in certain envs.

Resolves #90.
2019-10-05 20:06:35 +03:00
..
eventsource.h replace websockets with sse and refactor 2019-10-05 20:06:35 +03:00
laminar-fixture.h replace websockets with sse and refactor 2019-10-05 20:06:35 +03:00
laminar-functional.cpp replace websockets with sse and refactor 2019-10-05 20:06:35 +03:00
main.cpp replace websockets with sse and refactor 2019-10-05 20:06:35 +03:00
tempdir.h Replace boost/filesystem with kj/filesystem 2018-09-28 12:43:40 +03:00
unit-conf.cpp replace websockets with sse and refactor 2019-10-05 20:06:35 +03:00
unit-database.cpp replace websockets with sse and refactor 2019-10-05 20:06:35 +03:00
unit-run.cpp replace websockets with sse and refactor 2019-10-05 20:06:35 +03:00