getSizeWithHeaders

open override fun getSizeWithHeaders(uriString: String?, headers: ReadableMap?, promise: Promise)

Fetch the width and height of the given image with headers.

Parameters

uriString

the URI of the remote image

headers

headers send with the request

promise

the promise that is fulfilled when operation successfully completed or rejected when there is an error