Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnzhou committed Jan 7, 2025
1 parent 6ffaa91 commit 78bb1d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/NIOWebSocket/WebSocketProtocolErrorHandler.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ public final class WebSocketProtocolErrorHandler: ChannelInboundHandler {
public init() {
self.isServer = true
}

/// Initialize this `ChannelHandler` to be used by a WebSocket server or client.
///
/// - Parameters:
/// - isServer: indicate whether this `ChannelHandler` is used by a WebSocket server or client.
public init (isServer: Bool) {
public init(isServer: Bool) {
self.isServer = isServer
}

Expand Down

0 comments on commit 78bb1d4

Please sign in to comment.