Skip to content

Commit

Permalink
feat: added HttpEvent type to http component
Browse files Browse the repository at this point in the history
  • Loading branch information
fawadasaurus committed Oct 9, 2023
1 parent c733486 commit acdaa5f
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion crates/interfaces/wick-interface-http/component.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
name: http
kind: wick/types@v1
metadata:
version: 0.4.0
version: 0.5.0
package:
registry:
host: registry.candle.dev
Expand Down Expand Up @@ -242,3 +242,19 @@ types:
types:
- HttpRequest
- HttpResponse
- name: HttpEvent
kind: wick/type/struct@v1
description: HTTP server side event
fields:
- name: event
type: string?
description: The event name if given
- name: data
type: string
description: The event data
- name: id
type: string?
description: The event id if given
- name: retry
type: u32?
description: Retry duration if given

0 comments on commit acdaa5f

Please sign in to comment.