You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// NOTE: The Sendable requirement on Content can probably be removed in Swift 6 using a sending parameter, and some fancy ~Copyable @unchecked Sendable box type.
20
20
// We only need to pass the HTML value to the response generator body closure
21
-
privateletcontent:Content
21
+
privateletcontent:anyHTML&Sendable
22
22
23
23
/// The number of bytes to write to the response body at a time.
24
24
///
25
25
/// The default is 1024 bytes.
26
26
publicvarchunkSize:Int
27
27
28
+
/// Response headers
29
+
///
30
+
/// It can be used to add additional headers to a predefined set of fields.
31
+
///
32
+
/// - Note: If a new set of headers is assigned, all predefined headers are removed.
0 commit comments