diff --git a/imports.md b/imports.md index ea2d2fb..4fd87aa 100644 --- a/imports.md +++ b/imports.md @@ -437,6 +437,9 @@ is ready for reading, before performing the splice.

#### `type pollable` [`pollable`](#pollable)

+#### `type io-error` +[`error`](#error) +

#### `resource client-handshake`

resource client-connection

resource future-client-streams

@@ -483,5 +486,5 @@ is ready for reading, before performing the splice.

Return values
diff --git a/wit/types.wit b/wit/types.wit index ee8a847..6c8a487 100644 --- a/wit/types.wit +++ b/wit/types.wit @@ -4,6 +4,8 @@ interface types { use wasi:io/streams@0.2.3.{input-stream, output-stream}; @unstable(feature = tls) use wasi:io/poll@0.2.3.{pollable}; + @unstable(feature = tls) + use wasi:io/error@0.2.3.{error as io-error}; @unstable(feature = tls) resource client-handshake { @@ -26,6 +28,6 @@ interface types { subscribe: func() -> pollable; @unstable(feature = tls) - get: func() -> option>>>; + get: func() -> option, io-error>>>; } }