Is there a way to set a custom cookie on retrofit requests?
Either by using the RequestInterceptor or any other means?
RequestInterceptor
Another way to set a cookie is this way:
@Headers("Cookie: cookiename=cookievalue") @GET("widget/list") Call> widgetList();
And here is a dynamic way:
@GET("user") Call getUser(@Header("Cookie") String cookie)