|
Meta tags:
description=Hi there 馃憢
This PR is mostly to gauge interest in a few changes I ve made to a forked copy of this package. I can very easily split this up into many PRs if there is interest in any/all of this, but first wanted to see how it was received. Thanks for having a look!
Included Changes
Support Async/Await
a. Allows use of async/await to make async extremely simple
Fix file dir handling
a. Noticed files within directories were broken
Exclude DemoServer from package
a. Slim out the package
Add controller protocol and convenience subscript
a. Allows GET[ your/route ] = MyController.myRouteHandler
i. The above would be possible for the following: struct MyController: Controller func myRouteHandler(_ request: HttpRequest) async - HttpResponse
Enable registering multiple paths for a given handler
a. Allows GET[ my/first/route , my_other_route ] = request in
Trim : from request parameters
a. Allows request[ parameterName ] vs request[ :parameterName ] as a more convenient/intuitive accessor.
i. Addresses #489;
Headings (most frequently used words):
navigation, uh, oh, async, handling, controller, protocol, path, handler, conveniences, 526, are, footer, you, diff, view, menu, repository, there, no, files, selected, for, viewing, sure, want, to, change, the, base, filter, by, extension,
Text of the page (most frequently used words):
file (70), request (55), let (53), path (38), open (37), swift (34), string (34), line (33), expand (32), hidden (30), characters (30), unicode (30), httprequest (27), the (26), handler (25), show (24), that (23), func (23), diff (22), xcode (22), github (21), this (20), all (20), number (20), bidirectional (20), httpresponse (20), and (20), class (18), public (18), async (17), router (16), params (16), await (15), changes (14), nil (14), get (14), socket (14), sources (14), comments (13), change (13), route (13), method (13), may (12), review (12), learn (12), about (12), delete (12), view (12), tests (12), response (12), var (12), namolnad (12), applied (11), what (11), more (11), result (11), for (11), xctassertnotnil (10), original (10), contains (10), text (10), interpreted (10), compiled (10), differently (10), than (10), appears (10), below (10), editor (10), reveals (10), desktop (10), edit (10), self (10), return (10), you (9), down (9), xctasserttrue (9), secondrouterhandler (9), secondrouteresult (9), firstrouterhandler (9), firstrouteresult (9), additions (9), deletions (9), controller (9), httprouter (9), files (9), name (9), package (9), 2022 (9), while (8), waitforexpectations (8), timeout (8), swiftertestshttprouter (8), xctestcase (8), keepconnection (8), httpserverio (8), node (8), variablenode (8), swifter (8), test (8), reload (8), loading (8), security (7), suggestion (7), cannot (7), suggestions (7), from (7), code (7), notfound (7), closure (7), session (7), yml (7), jun (7), sign (7), xctassert (6), filestests (6), try (6), parser (6), dispatch (6), macos (6), newvalue (6), register (6), subscript (6), httpserver (6), pathtoken (6), inout (6), commits (6), not (5), add (5), private (5), error (5), operating (5), paths (5), pattern (5), count (5), tail (5), protocol (5), actions (5), workflows (5), update (5), support (5), base (5), your (5), can (4), please (4), pull (4), break (4), failed (4), currentindex (4), paramname (4), filter (4), generator (4), version (4), with (4), uses (4), run (4), linux (4), there (4), load (4), copilot (4), community (3), navigation (3), batch (3), commit (3), only (3), foundsecondvariableroute (3), foundfirstvariableroute (3), thirdrouterhandler (3), thirdrouteresult (3), variablerouterhandler (3), variablerouteresult (3), staticrouterhandler (3), staticrouteresult (3), temporarydirectoryurl (3), send (3), stop (3), else (3), set (3), methodroute (3), findhandler (3), matchednodes (3), variable (3), split (3), swifterexample (3), products (3), results (3), jobs (3), hide (3), whitespace (3), was (3), page (3), 526 (3), handling (3), conveniences (3), branch (3), refname (3), httpswift (3), account (3), quality (3), another (3), tab (3), window (3), refresh (3), developers (3), changelog (3), customer (3), enterprise (3), grade (3), features (3), build (3), contact (2), status (2), privacy (2), terms (2), footer (2), merge (2), outdated (2), create (2), single (2), one (2), viewing (2), toggle (2), 270 (2), testhttprouterhandlesoverlappingpathsindynamicroutesinthemiddle (2), 229 (2), testhttproutershouldhandleoverlappingroutesintrail (2), 186 (2), testhttprouterhandlesoverlappingpathsindynamicroutes (2), 151 (2), testhttprouterhandlesoverlappingpaths (2), 128 (2), directorybrowser (2), struct (2), close (2), delegate (2), socketconnectionreceived (2), socketsession (2), print (2), catch (2), respond (2), keepalive (2), supportskeepalive (2), headers (2), address (2), peername (2), readhttprequest (2), httpparser (2), guard (2), bool (2), false (2), dispatchqos (2), qosclass (2), foreach (2), layer (2), middleware (2), override (2), patch (2), head (2), post (2), put (2), nodes (2), index (2), append (2), value (2), search (2), isendofroute (2), variablenodes (2), first (2), 125 (2), indexingiterator (2), rootnode (2), pathsegments (2), href (2), dependencies (2), target (2), demoserver (2), targets (2), tools (2), tmp (2), checkout (2), steps (2), opt (2), unconfined (2), image (2), latest (2), platform (2), are (2), selected (2), apply (2), unified (2), retry (2), jump (2), nbsp (2), extension (2), jul (2), fix (2), select (2), tree (2), old (2), default (2), could (2), tags (2), branches (2), stable (2), issue (2), insights (2), projects (2), 108 (2), repository (2), signed (2), universe (2), training (2), integrations (2), stories (2), center (2), documentation (2), business (2), fixes (2), secret (2), perform, action, time, share, personal, information, manage, cookies, docs, 2026, inc, right, now, check, back, later, queued, multi, pending, reviews, has, been, marked, resolved, must, existing, order, valid, applying, deleted, lines, supported, per, subset, closed, invalid, because, were, made, annotations, notes, foundthirdvariableroute, foundvariableroute, foundstaticroute, testdirectorybrowser, sharefilesfromdirectory, testsharefilesfromdirectory, sharefile, appendingpathcomponent, does_not_exist, innerwritecontext, httpresponsebodywriter, task, handleconnection, state, stopped, 111, 110, start, port, in_port_t, 8080, forceipv4, priority, background, throws, available, joined, separator, last, element, dropfirst, map, matchedroutes, currentnode, queue, sync, inflate, pathsegmentsgenerator, insert, stripquery, handle, inner, dir, addition, deletion, init, executabletarget, exclude, executable, library, platforms, v10_15, import, packagedescription, upload, artifact, directory, maxim, lobanov, setup, unit, options, cap, sys_ptrace, seccomp, apparmor, container, runs, ubuntu, conversations, clear, filters, viewed, manifest, types, versions, a51ae97, drop, param, 3ff32c0, allow, multiple, registered, same, b9953ce, convenience, cb8d7cf, excluce, 86cfa20, compilation, 4324a05, server, serverio, b5f01d9, navigating, through, dirs, 7f8c152, 7137ef3, hold, shift, click, range, changed, checks, conversation, wants, into, some, removed, timeline, become, sure, want, nothing, found, choose, already, clicking, agree, our, occasionally, related, emails, statement, service, free, its, maintainers, have, question, project, new, items, wiki, requests, issues, message, dismiss, alert, switched, accounts, out, appearance, settings, pricing, event, talks, workshops, next, partners, company, forum, events, webinars, blog, resource, connect, resources, premium, advanced, ons, trust, why, evaluate, see, industries, government, manufacturing, financial, services, healthcare, industry, nonprofits, startups, small, medium, teams, enterprises, stage, businesses, source, improvements, across, place, developer, articles, sponsors, trending, repos, explore, customize, certifications, scanning, leak, prevention, protection, vulnerability, detection, remediation, secure, cloud, development, environments, codespaces, analysis, enforcement, automation, ship, coding, agent, tasks, automated, work, hosting, collaboration, menu, skip, content,
|