Skip to content

Reuse single instance of OkHttpClient #18

@DevGary

Description

@DevGary

Instead of each API creating its own instance of OkHttpClient, reuse the same instance.

  1. Make it easy for external ContentLinkApi modules to also use this OkHttpClient
  2. Might have to do some extra work with ImgurApi's OkHttpClient that appends headers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions