Static Methodmochidev.swift-webpush 0.4.2WebPush
httpClient(_:)
Use an HTTP client to send an encrypted payload to a subscriber.
static func httpClient(_ httpClient: any HTTPClientProtocol) -> WebPushManager.Executor
This is used in tests to capture the encrypted request and make sure it is well-formed.