Skip to content

Possibility to have a shared HttpTransport #103

Closed
@XtraSonic

Description

@XtraSonic

In the google documentation of HttpTransport it is mentioned that

For maximum efficiency, applications should use a single globally-shared instance of the HTTP transport.

GoogleHttpClient creates a new NetHttpTransport each time a new instance is created. According to the google documentation, this results in loss of efficiency. A solution for this would be to be able to give as a parameter an existing HttpTransport and use that in stead of creating a new NetHttpTransport each time.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions