Skip to content

Instantly share code, notes, and snippets.

View lazy-pr0grammer's full-sized avatar
💭
I may be slow to respond.

LazyProgrammer lazy-pr0grammer

💭
I may be slow to respond.
  • Lazy Corporation
  • Kanchana, Satkania, Chittagong, Bangladesh
View GitHub Profile
@tsuharesu
tsuharesu / AddCookiesInterceptor.java
Last active June 8, 2024 07:30
Handle Cookies easily with Retrofit/OkHttp
/**
* This interceptor put all the Cookies in Preferences in the Request.
* Your implementation on how to get the Preferences MAY VARY.
* <p>
* Created by tsuharesu on 4/1/15.
*/
public class AddCookiesInterceptor implements Interceptor {
@Override
public Response intercept(Chain chain) throws IOException {