Skip to content

FileUploadConfig Type documentation

Properties
Additional form fields added in the HTTP request.

Example:
on
{ upload_user: 'Reiner Zufall', expiry_date: ' 21.12.2012' }
additionalFields?: Record<string, string>
Form field name for the uploaded file.
fieldName: string
A function to modify the HTTP request sent on the consumer side.
handler?: (req: HttpRequest<unknown>) => Observable<HttpEvent<unknown>>
headers: (string | HttpHeaders | Record<string, (string | number | (string | number)[])> | Headers)
method: ("POST" | "PUT" | "PATCH")
Specify the server response type
responseType?: ("text" | "json" | "arraybuffer" | "blob")
When true , the file will be sent directly w/o the use of FormData . You will also need to set the Content-Type header when sending binary. See: headers
sendBinary?: boolean
url: string

Types Documentation

No types to document for items on this page.


Except where otherwise noted, content on this site is licensed under MIT License.