LimpSquid / led-cube-engine

Hardware agnostic RGB LED cube rendering engine.
GNU General Public License v3.0
7 stars 0 forks source link

Dev: http router hander should ideally be able to handle different types of response bodies #1

Closed LimpSquid closed 3 years ago

LimpSquid commented 3 years ago

Currently the http handler only supports handling a response with a string_body. This should ideally be configurable when a handler is created with make_handler. Let's see if we can come up with something :-).

LimpSquid commented 3 years ago

Hello meta programming, this is a new kind of beast I'll have to tame. It certainly is cool but I still have lots to learn!

First steps are made here (https://github.com/LimpSquid/led-cube-server/commit/7e1a4650288150ea73fb7d9972128f7a85afe8b1) to resolve this issue. Let's close it for now.