use of io.servicetalk.http.api.HttpRequester in project servicetalk by apple.
the class DefaultMultiAddressUrlHttpClientBuilderTest method buildAggregatedWithDefaults.
@Test
void buildAggregatedWithDefaults() throws Exception {
HttpRequester newAggregatedRequester = HttpClients.forMultiAddressUrl().ioExecutor(CTX.ioExecutor()).executor(CTX.executor()).executionStrategy(defaultStrategy()).build();
assertNotNull(newAggregatedRequester);
newAggregatedRequester.closeAsync().toFuture().get();
}
Aggregations