replace service middleware's configuration.
(
self,
config: HttpServiceConfig<HEADER_LIMIT_2, READ_BUF_LIMIT_2, WRITE_BUF_LIMIT_2>,
)
| 141 | { |
| 142 | /// replace service middleware's configuration. |
| 143 | pub fn config<const HEADER_LIMIT_2: usize, const READ_BUF_LIMIT_2: usize, const WRITE_BUF_LIMIT_2: usize>( |
| 144 | self, |
| 145 | config: HttpServiceConfig<HEADER_LIMIT_2, READ_BUF_LIMIT_2, WRITE_BUF_LIMIT_2>, |
| 146 | ) -> HttpServiceBuilder<V, Io, St, FA, HEADER_LIMIT_2, READ_BUF_LIMIT_2, WRITE_BUF_LIMIT_2> { |
| 147 | HttpServiceBuilder { |
| 148 | tls_factory: self.tls_factory, |
| 149 | config, |
| 150 | _body: PhantomData, |
| 151 | } |
| 152 | } |
| 153 | |
| 154 | /// replace tls service. tls service is used for Http/1 and Http/2 protocols. |
| 155 | pub fn with_tls<TlsF>( |
no outgoing calls