Skip to content

Commit

Permalink
Remove required initializer from server
Browse files Browse the repository at this point in the history
  • Loading branch information
jonnyholland committed Nov 30, 2024
1 parent d9de781 commit 844ef86
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Sources/ComposableArchitecturePattern/Server.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,6 @@ public protocol Server: Actor {
/// The `URLSession` to use for all server calls.
var urlSession: URLSession { get }

/// Designated initializer
init(
environments: [ServerEnvironment],
supportedAPIs: [any ServerAPI]
)

/// Sends a GET request and returns the specified value type from the given API.
///
/// - Note: `additionalHeaders` will override a key-value in `additionalHTTPHeaders`.
Expand Down

0 comments on commit 844ef86

Please sign in to comment.