Fibio
Fiber and async I/O based network library
Install / Use
/learn @windoze/FibioREADME
Fiberized.IO
Fiberized.IO is a fast and simple networking framework without compromises.
- <B>Fast</B><BR/>Asynchronous I/O under the hood for maximum speed and throughtput.
- <B>Simple</B><BR/>Fiber based programming model for concise and intuitive development.
- <B>No compromises</B><BR/>Standard C++ thread and iostream compatible API, old-fashion programs just work more efficiently.
Read the Wiki for manuals and references
The echo server example
#include <fibio/fiberize.hpp>
#include <fibio/iostream.hpp>
using namespace fibio;
int fibio::main(int argc, char *argv[]) {
return tcp_listener(7)([](tcp_stream &s){
s << s.rdbuf();
}).value();
}
The HTTP server example
#include <fibio/fiberize.hpp>
#include <fibio/http_server.hpp>
using namespace fibio::http;
int fibio::main(int argc, char *argv[]) {
return server(23456).handler(
route(
path_("/add/:x/:y")>>[](double x, double y){return x+y;}
)
).run().value();
}
Related Skills
node-connect
331.7kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
81.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
331.7kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
81.6kCommit, push, and open a PR
