AcraHttpSender

annotation class AcraHttpSender

Http sender configuration

Author

F43nd1r

Functions

annotationType
Link copied to clipboard
abstract fun annotationType(): Class<out Annotation>
basicAuthLogin
Link copied to clipboard
abstract fun basicAuthLogin(): String
you can set here and in basicAuthPassword the credentials for a BASIC HTTP authentication.
basicAuthPassword
Link copied to clipboard
abstract fun basicAuthPassword(): String
you can set here and in basicAuthLogin the credentials for a BASIC HTTP authentication.
certificatePath
Link copied to clipboard
abstract fun certificatePath(): String
a certificate used for ssl authentication
certificateType
Link copied to clipboard
abstract fun certificateType(): String
type of the certificate used for ssl authentication
compress
Link copied to clipboard
abstract fun compress(): Boolean
if the server request should be compressed using gzip
connectionTimeout
Link copied to clipboard
abstract fun connectionTimeout(): Int
timeout for server connection
dropReportsOnTimeout
Link copied to clipboard
abstract fun dropReportsOnTimeout(): Boolean
allows to prevent resending of timed out reports, possibly relieving server stress, but also reducing received report counts
equals
Link copied to clipboard
abstract fun equals(p: Any): Boolean
hashCode
Link copied to clipboard
abstract fun hashCode(): Int
httpMethod
Link copied to clipboard
abstract fun httpMethod(): HttpSender.Method
The HttpSender.Method to be used when posting with uri .
keyStoreFactoryClass
Link copied to clipboard
abstract fun keyStoreFactoryClass(): Class<out KeyStoreFactory>
A custom class supplying a java.security.KeyStore, which will be used for ssl authentication.
resCertificate
Link copied to clipboard
abstract fun resCertificate(): Int
a certificate used for ssl authentication
socketTimeout
Link copied to clipboard
abstract fun socketTimeout(): Int
timeout for socket connection
tlsProtocols
Link copied to clipboard
abstract fun tlsProtocols(): Array<TLS>
Note: Older Android versions do not support all tls versions.This array has to contain at least one option supported on all android versions this runs on!ACRA will automatically remove unsupported versions on older devices.
toString
Link copied to clipboard
abstract fun toString(): String
uri
Link copied to clipboard
abstract fun uri(): String
The Uri of your own server-side script that will receive reports.