File tree 4 files changed +5
-5
lines changed
4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 15
15
import HTTPTypes
16
16
import NIOCore
17
17
18
- /// Default HTTP error. Provides an HTTP status and a message is so desired
18
+ /// Default HTTP error. Provides an HTTP status and a message
19
19
public struct HTTPError : Error , HTTPResponseError , Sendable {
20
20
/// status code for the error
21
21
public var status : HTTPResponse . Status
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ import NIOCore
17
17
/// Build Channel Setup that takes an HTTP responder
18
18
///
19
19
/// Used when building an ``Hummingbird/Application``. It delays the building
20
- /// of the ``ChildChannel `` until the HTTP responder has been built.
20
+ /// of the ``ServerChildChannel `` until the HTTP responder has been built.
21
21
public struct HTTPChannelBuilder < ChildChannel: ServerChildChannel > : Sendable {
22
22
/// build child channel from HTTP responder
23
23
public let build : @Sendable ( @escaping HTTPChannelHandler . Responder ) throws -> ChildChannel
Original file line number Diff line number Diff line change 13
13
//===----------------------------------------------------------------------===//
14
14
15
15
/// Protocol for a Job
16
- public protocol Job : Sendable {
16
+ protocol Job : Sendable {
17
17
/// Parameters job requries
18
18
associatedtype Parameters : Codable & Sendable
19
19
/// Job Type identifier
Original file line number Diff line number Diff line change @@ -22,8 +22,8 @@ import ServiceLifecycle
22
22
///
23
23
/// Wrapper type to bring together a job queue implementation and a job queue
24
24
/// handler. Before you can push jobs onto a queue you should register it
25
- /// with the queue via either ``JobQueue. registerJob(id:maxRetryCount:execute:)`` or
26
- /// ``JobQueue. registerJob(_:)``.
25
+ /// with the queue via either ``registerJob(id:maxRetryCount:execute:)`` or
26
+ /// ``registerJob(_:)``.
27
27
public struct JobQueue < Queue: JobQueueDriver > : Service {
28
28
/// underlying driver for queue
29
29
public let queue : Queue
You can’t perform that action at this time.
0 commit comments