wasp icon indicating copy to clipboard operation
wasp copied to clipboard

can you add onstartListener?

Open jiqimaogou opened this issue 9 years ago • 2 comments

can you add a callback when the request is beginning to start.

jiqimaogou avatar Jun 28 '15 23:06 jiqimaogou

what do you expect to have in this callback? I am curious about the case

orhanobut avatar Jun 29 '15 12:06 orhanobut

@jiqimaogou OkHttp Interceptor may satisfy your need. For example, I use it to calculate mac of request and put the calculation to the outgoing headers.

kardeslik avatar Jun 29 '15 13:06 kardeslik