Skip to content

Commit

Permalink
add endpoint publisher
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysforyou committed Jun 23, 2020
1 parent fb3a55e commit 82347e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Superhighway/Endpoint.swift
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ extension URLSession {
///
/// - Parameter endpoint: the endpoint from which to creaste a publisher
/// - Returns: an endpoint publisher
func endpointPublisher<Response>(_ endpoint: Endpoint<Response>) -> EndpointPublisher<Response> {
public func endpointPublisher<Response>(_ endpoint: Endpoint<Response>) -> EndpointPublisher<Response> {
return EndpointPublisher(endpoint: endpoint, session: self)
}
}
Expand Down

0 comments on commit 82347e6

Please sign in to comment.