Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 412 Bytes

retrofit.md

File metadata and controls

13 lines (11 loc) · 412 Bytes

Using Certificate Transparency with Retrofit

With Retrofit built on top of OkHttp, configuring it for certificate transparency is as simple as setting up an OkHttpClient as shown in Using Certificate Transparency with OkHttp supplying that to your Retrofit.Builder.

val retrofit = Retrofit.Builder()
    .baseUrl("https://appmattus.com")
    .client(okHttpClient)
    .build()