Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ Use `<? ... ?>` for JavaScript control flow:

### Streaming Content

Use `echo()` function for streaming content. Accepts: strings, functions, Promises, Response objects, or ReadableStreams:
Use the `echo()` function for streaming content. Accepts: strings, functions, Promises, Response objects, or ReadableStreams:

**Examples:**

Expand All @@ -134,7 +134,7 @@ Use `echo()` function for streaming content. Accepts: strings, functions, Promis
echo("Welcome to our site!");
</script>

<!-- Async content from API (non blocking)-->
<!-- Async content from API (non-blocking)-->
<script server>
echo("Hello");
echo(async () => fetch("https://api.example.com/data"));
Expand All @@ -152,7 +152,6 @@ Access request context and global state:
- `$HEADERS`: Request headers
- `$RESPONSE`: Response configuration object
- `$COOKIES`: Read-only object containing request cookies
- `$RESPONSE`: Response configuration object

### Cookie Management

Expand Down Expand Up @@ -208,7 +207,7 @@ The `htmlspecialchars()` function is available for escaping HTML content:

</details>

## Perior Arts
## Prior Art

- [jaubourg/jhp](https://github.com/jaubourg/jhp)
- [atinux/pjs](https://github.com/atinux/pjs)
Expand Down