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

The ?ws/!ws directives #52

Open
lowlighter opened this issue Dec 16, 2024 · 0 comments
Open

The ?ws/!ws directives #52

lowlighter opened this issue Dec 16, 2024 · 0 comments
Labels
scope: unstable spec Spec definition for non-well defined behaviors
Milestone

Comments

@lowlighter
Copy link
Owner

lowlighter commented Dec 16, 2024

Scope

unstable

What do you want to define?

New ?ws and !ws directives, that would act similar to %http directive but for websockets

  • ? would be used for requests
  • ! would be used for responses
<form *set="{ content: '' }" ?="wss://example.com" ?message="content" [email protected]>
  <textarea ::value="content"></textarea>
  <button>Send</button>
</form>

<div class="messages" [email protected][append]>
  <!-- ... -->
</div>

Potentially blocking:

I have searched for existing issues

Yes

@lowlighter lowlighter added the spec Spec definition for non-well defined behaviors label Dec 16, 2024
@lowlighter lowlighter added this to the future milestone Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: unstable spec Spec definition for non-well defined behaviors
Projects
None yet
Development

No branches or pull requests

1 participant