Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
timonson committed Jul 13, 2023
1 parent f34bc8c commit aa37c3b
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
# portal

Portal is a fast and simple routing framework powered by the
[URLPattern](https://developer.mozilla.org/en-US/docs/Web/API/URL_Pattern_API)
interface for Deno. The `URLPattern` interface matches URLs or parts of URLs
against a pattern. The pattern can contain capturing groups that extract parts
of the matched URL. The best way to learn and test the URL Pattern API is using
our free [URL Pattern User Interface](https://dev.zaubrik.com/urlpattern/).
Middlewares for [composium](https://github.com/Zaubrik/composium)

## Important

Always check the the `groups` properties of the `URLPatternResult` for being
_present_. The implementations seem to vary regarding empty string or
_present_. The UrlPattern implementations seem to vary regarding empty string or
`undefined`.

## API
Expand All @@ -19,12 +14,6 @@ _present_. The implementations seem to vary regarding empty string or
deno doc https://deno.land/x/portal/mod.ts
```

## Todo

- Add `WebSocket` support when
[WebSocketStream](https://deno.land/manual/runtime/http_server_apis#websocket-support)
arrives.

## Decoding

Decoding for querystrings might be necessary if they were encoded on the client
Expand Down

0 comments on commit aa37c3b

Please sign in to comment.