Function resolve(with:)
public func resolve<R: EndpointResolver>(with session: R)
Fetch the response, from a given
Input and URLSession.
Parameters
| Name | Type | Description |
|---|---|---|
| session | R |
The |
Throws
Any Error.
Returns
Some Output.
public func resolve<R: EndpointResolver>(with session: R) -> AnyPublisher<Output, any Error>
Fetch the response, from a given
Input and URLSession.
Parameters
| Name | Type | Description |
|---|---|---|
| session | R |
The |
Returns
Some AnyPublisher.
public func resolve<R: EndpointResolver>(with session: R)
Fetch the response, from a given
Input and URLSession.
Parameters
| Name | Type | Description |
|---|---|---|
| session | R |
The |
Throws
Any Error.
Returns
Some Output.
public func resolve<R: EndpointResolver>(with session: R) -> AnyPublisher<Output, any Error>
Fetch the response, from a given
Input and URLSession.
Parameters
| Name | Type | Description |
|---|---|---|
| session | R |
The |
Returns
Some AnyPublisher.
public func resolve<R: EndpointResolver>(with session: R)
Resolve the current endpoint.
Parameters
| Name | Type | Description |
|---|---|---|
| session | R |
A valid |
Throws
Any Error.
Returns
Some Output.
public func resolve<R: EndpointResolver>(with session: R) -> AnyPublisher<Output, any Error>
Fetch the response, from a given
Input and URLSession.
Parameters
| Name | Type | Description |
|---|---|---|
| session | R |
The |
Returns
Some AnyPublisher.
public func resolve<R: EndpointResolver>(with session: R)
Fetch the response, from a given
Input and URLSession.
Parameters
| Name | Type | Description |
|---|---|---|
| session | R |
The |
Throws
Any Error.
Returns
Some Output.
public func resolve<R: EndpointResolver>(with session: R) -> AnyPublisher<Parent.Output, any Error>
Fetch the response, from a given
Input and URLSession.
Parameters
| Name | Type | Description |
|---|---|---|
| session | R |
The |
Returns
Some AnyPublisher.
public func resolve<R: EndpointResolver>(with session: R)
Fetch the response, from a given
Input and URLSession.
Parameters
| Name | Type | Description |
|---|---|---|
| session | R |
The |
Throws
Any Error.
Returns
Some Output.
public func resolve<R: EndpointResolver>(with session: R) -> AnyPublisher<Output, any Error>
Fetch the response, from a given
Input and URLSession.
Parameters
| Name | Type | Description |
|---|---|---|
| session | R |
The |
Returns
Some AnyPublisher.
public func resolve<R: EndpointResolver>(with session: R)
Fetch the response, from a given
Input and URLSession.
Parameters
| Name | Type | Description |
|---|---|---|
| session | R |
The |
Throws
Any Error.
Returns
Some Output.
public func resolve<R: EndpointResolver>(with session: R) -> AnyPublisher<Output, any Error>
Fetch the response, from a given
Input and URLSession.
Parameters
| Name | Type | Description |
|---|---|---|
| session | R |
The |
Returns
Some AnyPublisher.
public func resolve<R: EndpointResolver>(with session: R)
Fetch the response, from a given
Input and URLSession.
Parameters
| Name | Type | Description |
|---|---|---|
| session | R |
The |
Throws
Any Error.
Returns
Some Output.
public func resolve<R: EndpointResolver>(with session: R) -> AnyPublisher<Output, any Error>
Fetch the response, from a given
Input and URLSession.
Parameters
| Name | Type | Description |
|---|---|---|
| session | R |
The |
Returns
Some AnyPublisher.
public func resolve<R: EndpointResolver>(with session: R)
Resolve the current endpoint.
Parameters
| Name | Type | Description |
|---|---|---|
| session | R |
A valid |
Throws
Any Error.
Returns
Some Output.
public func resolve<R: EndpointResolver>(with session: R) -> AnyPublisher<Output, any Error>
Fetch the response, from a given
Input and URLSession.
Parameters
| Name | Type | Description |
|---|---|---|
| session | R |
The |
Returns
Some AnyPublisher.
public func resolve<R: EndpointResolver>(with session: R)
Resolve the current endpoint.
Parameters
| Name | Type | Description |
|---|---|---|
| session | R |
A valid |
Throws
Any Error.
Returns
Some Output.
public func resolve<R: EndpointResolver>(with session: R)
Fetch the response, from a given
Input and URLSession.
Parameters
| Name | Type | Description |
|---|---|---|
| session | R |
The |
Throws
Any Error.
Returns
Some Output.
public func resolve<R: EndpointResolver>(with session: R) -> AnyPublisher<Output, any Error>
Fetch the response, from a given
Input and URLSession.
Parameters
| Name | Type | Description |
|---|---|---|
| session | R |
The |
Returns
Some AnyPublisher.
public func resolve<R: EndpointResolver>(with session: R)
Fetch the response, from a given
Input and URLSession.
Parameters
| Name | Type | Description |
|---|---|---|
| session | R |
The |
Throws
Any Error.
Returns
Some Output.
public func resolve<R: EndpointResolver>(with session: R) -> AnyPublisher<Output, any Error>
Fetch the response, from a given
Input and URLSession.
Parameters
| Name | Type | Description |
|---|---|---|
| session | R |
The |
Returns
Some AnyPublisher.