Variable: internal
const
internal:object
Type declaration
getOptions()
getOptions: () =>
LoaderOptions
Returns
setOptions()
setOptions: (
newOptions
) =>void
Parameters
• newOptions: LoaderOptions
Returns
void
streamRequest()
streamRequest: (
url
,imageId
,defaultHeaders
,options
) =>PromiseIterator
<unknown
>
This function does a streaming parse from an http request, delivering combined/subsequent parts of the result as iterations on a ProgressiveIterator instance.
Parameters
• url: string
to request and parse as either multipart or singlepart.
• imageId: string
the imageId to be used in the returned detail object
• defaultHeaders: Record
<string
, string
> = {}
• options: CornerstoneWadoRsLoaderOptions
= {}
Returns
PromiseIterator
<unknown
>
xhrRequest()
xhrRequest: (
url
,imageId
,defaultHeaders
,params
) =>LoaderXhrRequestPromise
<ArrayBuffer
>
Parameters
• url: string
• imageId: string
• defaultHeaders: Record
<string
, string
> = {}
• params: LoaderXhrRequestParams
= {}
Returns
LoaderXhrRequestPromise
<ArrayBuffer
>
Defined in
packages/dicomImageLoader/src/imageLoader/internal/index.ts:5