Package com.azure.android.core.http
Interface HttpCallDispatcher.HttpCallFunction
-
- Enclosing class:
- HttpCallDispatcher
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface HttpCallDispatcher.HttpCallFunction
Contract representing an HTTP call to execute.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
apply(HttpRequest httpRequest, HttpCallback httpCallback)
Perform an HTTP call.
-
-
-
Method Detail
-
apply
void apply(HttpRequest httpRequest, HttpCallback httpCallback)
Perform an HTTP call.- Parameters:
httpRequest
- The HTTP request.httpCallback
- The callback to notify the result of the HTTP call.
-
-