Skip to content

Commit e2f078e

Browse files
committed
PR review
1 parent 7ec050b commit e2f078e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/async-await.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ extension AsyncResponse {
113113
At a later point we could add trailers to the AsyncResponse as effectful properties.
114114

115115
```swift
116-
public var trailers: HTTPHeaders { async throws }
116+
public var trailers: HTTPHeaders? { async throws }
117117
```
118118

119119
However we will need to make sure that the user has consumed the body stream completely before, calling the trailers, because otherwise we might run into a situation from which we can not progress forward:

0 commit comments

Comments
 (0)