Meta tags:
description= Cro - elegant reactive services in Raku;
Headings (most frequently used words):
cro, http, and, router, client, with, welcome, to, set, up, your, routes, serve, them, built, in, server, flexible, request, pluggable, body, parsing, serialization, included, neatly, integrated, the, web, socket, get, started, good, defaults, run, trace,
Text of the page (most frequently used words):
the (21), and (18), cro (15), http (12), get (10), with (8), you (8), services (8), for (8), body (8), json (7), web (7), #service (5), server (5), content (5), application (5), socket (4), chat (4), text (4), support (4), use (4), hello (4), raku (3), documentation (3), them (3), make (3), things (3), next (3), previous (3), asynchronous (3), from (3), started (3), set (3), new (3), client (3), whenever (3), router (3), parsers (3), serializers (3), request (3), website (2), copyright (2), apis (2), changes (2), run (2), tracing (2), requests (2), pipeline (2), helping (2), more (2), output (2), which (2), automatically (2), good (2), host (2), port (2), just (2), sockets (2), writing (2), included (2), supply (2), incoming (2), message (2), emit (2), pluggable (2), middleware (2), https (2), persistent (2), connections (2), all (2), uuidv4 (2), object (2), built (2), multi (2), your (2), root (2), segments (2), product (2), serve (2), static (2), css (2), path (2), search (2), term (2), level (2), name (2), reactive (2), easy (2), community, 2017, 2024, edument, central, europe, sro, source, are, covered, artistic, license, currently, beta, overall, quite, satisfied, most, don, plan, major, this, regard, expect, some, bumps, road, into, any, please, can, better, consider, filing, bug, report, know, enables, see, how, progress, through, rapidly, understand, where, problem, occurs, runs, one, enabled, trace, collects, displays, telling, came, restarts, when, their, code, starts, assigning, free, ports, lightweight, development, runner, well, faster, also, helps, off, direction, example, accepts, environment, great, container, deployment, generates, declaring, dependencies, meta6, command, stubs, zeromq, stub, defaults, what, need, using, between, clients, integration, tests, exposed, based, supplier, await, neatly, integrated, same, used, multiplexing, optional, custom, certificate, authority, supports, api, getting, response, delivered, once, streaming, put, order, save, then, enjoy, www, form, urlencoded, part, bodies, plug, own, parsing, serialization, capture, constrain, signature, slurp, assets, stuff, query, string, flexible, dispatched, thread, pool, core, cpus, configure, add, negotiated, alpn, route, greet, plain, localhost, 10000, start, react, signal, sigint, stop, exit, routes, tooling, ready, check, out, zef, install, test, libraries, building, distributed, systems, lovingly, crafted, take, advantage, has, offer, high, concept, heart, makes, hard, possible, welcome, roadmap, home, current, elegant,
Text of the page (random words):
cro elegant reactive services in raku home current documentation roadmap welcome to cro cro is a set of libraries for building reactive distributed systems lovingly crafted to take advantage of all raku has to offer the high level apis make the easy things easy and the asynchronous pipeline concept at cro s heart makes the hard things possible ready to get started just zef install test cro and check out the documentation http web sockets tooling set up your routes and serve them use cro http router use cro http server my application route get greet name content text plain hello name my cro service hello cro http server new host localhost port 10000 application hello start react whenever signal sigint hello stop exit built in http server http 1 1 persistent connections http 2 0 use negotiated with alpn https support add middleware at the server level configure body parsers and serializers requests dispatched to the thread pool to make use of multi core cpus flexible request router capture constrain root segments with a signature get product uuidv4 id content application json get product id slurp root segments and serve static content get css path static assets css path get stuff from the query string get search term content application json do search term pluggable body parsing and serialization enjoy built in support for www form urlencoded multi part and json bodies or plug in your own body parsers and serializers put order uuidv4 id request body json object save it and then content application json json object http client included asynchronous api for getting the response and the body body delivered all at once or streaming supports http 1 1 persistent connections https with optional custom certificate authority http 2 0 support with request multiplexing pluggable body parsers serializers the same used by the server and middleware support previous next neatly integrated with the http router my chat supplier new get chat web socket incoming supply whenever incoming message chat emit await message body text whenever chat text emit text web socket client a supply based web services client is included in cro it s just what you need for using web sockets between services writing web socket clients or writing integration tests for services exposed by a web socket previous next get started with good defaults the cro stub command stubs new http and zeromq services as well as helping you get started faster it also helps you to set off in a good direction for example it accepts host and port from the environment great for container deployment and generates a meta6 json for declaring the service dependencies cro run a lightweight development service runner starts services automatically assigning them free ports automatically restarts services when their code changes collects and displays service output telling you which output came from which service cro trace runs one or more services with tracing enabled tracing enables you to see how requests progress through the asynchronous pipeline helping you to more rapidly understand where a problem occurs previous next so you know cro is currently in beta we re overall quite satisfied with most of the apis and don t plan major changes in this regard expect some bumps on the road and if you run into any of them please consider filing a bug report so we can make things better website copyright the raku community website copyright 2017 2024 edument central europe sro documentation and cro source are covered by the artistic license 2 0
|