You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public protocol RequestProtocol: SpectaclesRequest.RequestProtocol {
var method: String { get }
var params: Data { get }
}
case call(any SpectaclesApiCallRequestProtocol)
case notify(any SpectaclesApiNotifyRequestProtocol)
public var underlyingRequest: any RequestProtocol {
switch self {
case let .call(request):
return request
case let .notify(request):
return request
}
}
}
public protocol SpectaclesApiCallRequestProtocol: SpectaclesApiRequest.RequestProtocol, SpectaclesRequestWithStreamResponseProtocol where Payload == Data {}
public protocol SpectaclesApiNotifyRequestProtocol: SpectaclesApiRequest.RequestProtocol, SpectaclesRequestWithoutResponseProtocol {}