Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: jco serve #304

Merged
merged 11 commits into from
Dec 14, 2023
Merged

feat: jco serve #304

merged 11 commits into from
Dec 14, 2023

Conversation

guybedford
Copy link
Collaborator

@guybedford guybedford commented Dec 8, 2023

Adds the jco serve command for creating an HTTP incoming server handler.

In addition an incoming server can be created with the HTTPServer class:

import { HTTPServer } from '@bytecodealliance/preview2-shim/http';
new HTTPServer().listen(port, host);

@guybedford guybedford changed the title wip: jco serve feat: jco serve Dec 9, 2023
@guybedford guybedford marked this pull request as ready for review December 9, 2023 02:39
@guybedford guybedford merged commit 5f62577 into main Dec 14, 2023
6 checks passed
@guybedford guybedford deleted the jco-serve branch December 14, 2023 04:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant