Skip to content

How to add HttpRequest Interceptor  #1333

@hai046

Description

@hai046

In httpCline we can use

httpClient .addInterceptorFirst(new HttpRequestInterceptor() {

                @Override
                public void process(HttpRequest httpRequest, HttpContext httpContext)
                        throws HttpException, IOException {
             }

});

But in okhttp i can't find where to add ?

Thinks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions