Skip to content

Materials for the "Full Stream Ahead: Breaking the Protocol Barrier with http4k"

Notifications You must be signed in to change notification settings

http4k/full-stream-ahead

Repository files navigation

http4k Full Stream Ahead Examples

A collection of examples demonstrating various web streaming technologies using the http4k framework.

Examples

00_common

Shared models and resources used across all examples (User, Message data classes).

01_http_template

Basic HTTP server with Handlebars templating. Shows how to render HTML templates with dynamic data.

02_http_api

Simple HTTP API example demonstrating RESTful endpoints with JSON responses.

03_ws

WebSocket implementation showing bidirectional real-time communication between client and server.

04_sse

Server-Sent Events (SSE) example for unidirectional streaming from server to client.

05_datastar

Basic integration with http4k's Datastar support for reactive UI updates.

06_datastar_demo

Full-featured Datastar demo with user management, combining SSE streams and web handlers for a complete reactive application.

07_datastar_gameoflife

Conway's Game of Life implementation using Datastar for real-time grid updates.

About

Materials for the "Full Stream Ahead: Breaking the Protocol Barrier with http4k"

Topics

Resources

Stars

Watchers

Forks

Sponsor this project