Skip to content

Commit 115be0d

Browse files
committed
Change ms params to duration
1 parent 21bdfda commit 115be0d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

wit/types.wit

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -330,14 +330,14 @@ interface types {
330330

331331
/// Set the timeout for the initial connect to the HTTP Server. An error
332332
/// return value indicates that this timeout is not supported.
333-
set-connect-timeout: func(ms: option<duration>) -> result;
333+
set-connect-timeout: func(duration: option<duration>) -> result;
334334

335335
/// The timeout for receiving the first byte of the Response body.
336336
first-byte-timeout: func() -> option<duration>;
337337

338338
/// Set the timeout for receiving the first byte of the Response body. An
339339
/// error return value indicates that this timeout is not supported.
340-
set-first-byte-timeout: func(ms: option<duration>) -> result;
340+
set-first-byte-timeout: func(duration: option<duration>) -> result;
341341

342342
/// The timeout for receiving subsequent chunks of bytes in the Response
343343
/// body stream.
@@ -346,7 +346,7 @@ interface types {
346346
/// Set the timeout for receiving subsequent chunks of bytes in the Response
347347
/// body stream. An error return value indicates that this timeout is not
348348
/// supported.
349-
set-between-bytes-timeout: func(ms: option<duration>) -> result;
349+
set-between-bytes-timeout: func(duration: option<duration>) -> result;
350350
}
351351

352352
/// Represents the ability to send an HTTP Response.

0 commit comments

Comments
 (0)