Let's get rid of the IHttpRequest and IHttpRespones classes in this SDK, and instead rely on the HttpRequest and HttpResponse classes provided by @azure/functions.
This means that client.createCheckStatusResponse() and client.waitForCompletionOrCreateCheckStatusResponse() should both accept an HttpRequest object, and return an HttpResponse object.
While technically a breaking change, this is actually helpful in most cases, because HttpRequest is the type of trigger input received by HTTP-triggered functions anyway, and most functions just pass the result of those API back to the Functions library, which also now expects an HttpResponse object
Let's get rid of the
IHttpRequest
andIHttpRespones
classes in this SDK, and instead rely on theHttpRequest
andHttpResponse
classes provided by@azure/functions
.This means that
client.createCheckStatusResponse()
andclient.waitForCompletionOrCreateCheckStatusResponse()
should both accept anHttpRequest
object, and return anHttpResponse
object.While technically a breaking change, this is actually helpful in most cases, because
HttpRequest
is the type of trigger input received by HTTP-triggered functions anyway, and most functions just pass the result of those API back to the Functions library, which also now expects anHttpResponse
object