@@ -16,7 +16,7 @@ public protocol HttpCodablePipelineCollection {
1616 /// - Returns: The generic request encoder instance
1717 ///
1818 func encoder< T: Encodable > ( ) -> HttpRequestEncoder < T >
19-
19+
2020 ///
2121 /// The generic decoder object used to decode response data
2222 ///
@@ -25,25 +25,25 @@ public protocol HttpCodablePipelineCollection {
2525 func decoder< T: Decodable > ( ) -> HttpResponseDecoder < T >
2626}
2727
28- public extension HttpCodablePipelineCollection {
28+ extension HttpCodablePipelineCollection {
2929
3030 ///
3131 /// The generic encoder object used to encode body values
3232 ///
3333 /// - Returns: The default json encoder
3434 ///
35- func encoder< T: Encodable > ( ) -> HttpRequestEncoder < T > { . json( ) }
36-
35+ public func encoder< T: Encodable > ( ) -> HttpRequestEncoder < T > { . json( ) }
36+
3737 ///
3838 /// The generic decoder object used to decode response data
3939 ///
4040 /// - Returns: The default json decoder
4141 ///
42- func decoder< T: Decodable > ( ) -> HttpResponseDecoder < T > { . json( ) }
42+ public func decoder< T: Decodable > ( ) -> HttpResponseDecoder < T > { . json( ) }
4343}
4444
45- public extension HttpCodablePipelineCollection {
46-
45+ extension HttpCodablePipelineCollection {
46+
4747 ///
4848 /// Executes a raw request pipeline using a data values as a body and returns the response
4949 ///
@@ -58,7 +58,7 @@ public extension HttpCodablePipelineCollection {
5858 ///
5959 /// - Returns: The HTTP response object
6060 ///
61- func rawRequest(
61+ public func rawRequest(
6262 executor: ( ( HttpRequest ) async throws -> HttpResponse ) ,
6363 url: HttpUrl ,
6464 method: HttpMethod ,
@@ -75,7 +75,7 @@ public extension HttpCodablePipelineCollection {
7575 )
7676 return try await pipeline. execute ( executor)
7777 }
78-
78+
7979 ///
8080 /// Executes an encodable request pipeline using an encodable object as a body value and returns the response
8181 ///
@@ -90,7 +90,7 @@ public extension HttpCodablePipelineCollection {
9090 ///
9191 /// - Returns: The HTTP response object
9292 ///
93- func encodableRequest< T: Encodable > (
93+ public func encodableRequest< T: Encodable > (
9494 executor: ( ( HttpRequest ) async throws -> HttpResponse ) ,
9595 url: HttpUrl ,
9696 method: HttpMethod ,
@@ -108,7 +108,7 @@ public extension HttpCodablePipelineCollection {
108108 )
109109 return try await pipeline. execute ( executor)
110110 }
111-
111+
112112 ///
113113 /// Executes a raw request pipeline using a data values as a body and returns the response
114114 ///
@@ -123,7 +123,7 @@ public extension HttpCodablePipelineCollection {
123123 ///
124124 /// - Returns: The decoded response object
125125 ///
126- func decodableRequest< U: Decodable > (
126+ public func decodableRequest< U: Decodable > (
127127 executor: ( ( HttpRequest ) async throws -> HttpResponse ) ,
128128 url: HttpUrl ,
129129 method: HttpMethod ,
@@ -141,7 +141,7 @@ public extension HttpCodablePipelineCollection {
141141 )
142142 return try await pipeline. execute ( executor)
143143 }
144-
144+
145145 ///
146146 /// Executes a codable request pipeline using an encodable body and decodes the response
147147 ///
@@ -156,7 +156,7 @@ public extension HttpCodablePipelineCollection {
156156 ///
157157 /// - Returns: The decoded response object
158158 ///
159- func codableRequest< T: Encodable , U: Decodable > (
159+ public func codableRequest< T: Encodable , U: Decodable > (
160160 executor: ( ( HttpRequest ) async throws -> HttpResponse ) ,
161161 url: HttpUrl ,
162162 method: HttpMethod ,
0 commit comments