Skip to content

refactoring: Invert control over resto server

Nicolas Raymond requested to merge ioc into master

Fixes #24 (closed).

This MR splits the Server.Make.launch function in order to offer a better control over servers and callback instantiations.

It exposes callbacks in order to give the ability for users to override and enrich the server behavior. As this is a more simple and general approach to extend the server usage, middlewares are not needed anymore and were removed.

Edited by Nicolas Raymond

Merge request reports