Gets or sets an object containing key-value pairs representing headers to add to a web-service call.
Object.defineProperty(PrepareWebServiceCallEventArgs.prototype, 'headersObject',
get: function(),
set: function(value)
)
headersObject: any;
An object that contains zero or more properties, where each property is a key-value pair. These pairs represent the headers of a web service call. Keys are strings that represent the header names, and values are strings that represent the header content. This object is used to configure the HTTP headers sent in any web service request, facilitating the communication of additional information such as content types, authentication tokens, and other metadata required by the server.
Below are three valid examples of the headersObject
property:
{ }
{ 'Authorization': 'Bearer MY_BEARER_TOKEN' }
{
'Content-Type': 'application/terry',
'Authorization': 'Bearer YOUR_TOKEN_HERE'
}
Refer to PrepareWebServiceCall for more information.
PrepareWebServiceCallEventArgs Class
PrepareWebServiceCallEventArgs Members
Leadtools.Controls.Medical Namespace
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document