smart_dev_pinning_plugin_ffi library

Classes

SecureClient
SmartResponse
Response object from the native side

Enums

PinningMethod
Available SSL/TLS pinning methods.

Extensions

PinningMethodExtension on PinningMethod
Extension to convert the enum to string

Functions

parseResponse(String response) String
Helper function to parse responses is no longer needed as we use SmartResponse

Typedefs

FreeCSignature = Void Function(Pointer<Void>)
FreeDartSignature = void Function(Pointer<Void>)
FreeStringCSignature = Void Function(Pointer<Char>)
iOS-specific FFI type definitions Note: iOS uses 'free_string' instead of 'free_cstring'
FreeStringDartSignature = void Function(Pointer<Char>)
HttpRequestCSignature = Pointer<Utf8> Function(Pointer<Utf8> method, Pointer<Utf8> url, Pointer<Utf8> body, Pointer<Utf8> headers, Pointer<Utf8> encoding, Pointer<Utf8> certificateHash, Pointer<Utf8> pinningMethod)
HttpRequestDartSignature = Pointer<Utf8> Function(Pointer<Utf8> method, Pointer<Utf8> url, Pointer<Utf8> body, Pointer<Utf8> headers, Pointer<Utf8> encoding, Pointer<Utf8> certificateHash, Pointer<Utf8> pinningMethod)