Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
FranzBusch committed Oct 24, 2023
1 parent c644570 commit afe5259
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions Sources/NIOPosix/Bootstrap.swift
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,10 @@ extension ServerBootstrap {
///
/// - Parameters:
/// - vsockAddress: The VSOCK socket address to bind on.
/// - serverBackPressureStrategy: The back pressure strategy used by the server socket channel.
/// - channelInitializer: A closure to initialize the channel. The return value of this closure is returned from the `connect`
/// method.
/// - Returns: The result of the channel initializer.
@available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
public func bind<Output: Sendable>(
to vsockAddress: VsockAddress,
Expand Down Expand Up @@ -1156,9 +1160,11 @@ extension ClientBootstrap {

/// Specify the VSOCK address to connect to for the `Channel`.
///
/// - parameters:
/// - address: The VSOCK address to connect to.
/// - returns: An `EventLoopFuture<Channel>` for when the `Channel` is connected.
/// - Parameters:
/// - address: The VSOCK address to connect to.
/// - channelInitializer: A closure to initialize the channel. The return value of this closure is returned from the `connect`
/// method.
/// - Returns: The result of the channel initializer.
@available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
public func connect<Output: Sendable>(
to address: VsockAddress,
Expand Down

0 comments on commit afe5259

Please # to comment.