putSecure<T> abstract method
Sends a secure PUT request with signature verification.
Parameters:
path: The endpoint path.baseUrl: (Optional) Custom base URL.queryParameters: (Optional) Query parameters for the request.headers: (Optional) Custom headers.data: (Optional) Additional request payload.cancelToken: (Optional) Token for request cancellation.onReceiveProgress: (Optional) Callback for tracking progress.payloadSignature: (Optional) Payload for verify signature.signatureName: (Optional) Custom key of value payload signature.hash: (Optional) Custom hash method signature.
Usage Example:
final response = await VenturoApiManager.api.putSecure(
"/users",
payloadSignature: {'key' : 'value'},
signatureName: "X-Signature",
);
Implementation
Future<Response<T>> putSecure<T>(
String path, {
String? baseUrl,
Map<String, dynamic>? queryParameters,
Map<String, dynamic>? headers,
Object? data,
CancelToken? cancelToken,
ProgressCallback? onReceiveProgress,
Map<String, dynamic>? payloadSignature,
String? signatureName,
Hash hash = Hash.SHA256,
});