Skip to content

Cannot use Xamarin.iOS NSUrlSessionHandler #3415

@Cheesebaron

Description

@Cheesebaron

NEST/Elasticsearch.Net version:
6.3.1

Description of the problem including expected versus actual behavior:
When using Elasticsearch.Net you cannot provide a NSUrlSessionHandler in the CreateHttpClientHandler method override. NSUrlSessionHandler in Xamarin.iOS is a HttpMessageHandler, rather than HttpClientHandler.

Since it cannot be used, Xamarin.iOS apps can only use the managed, less stable HttpClientHandler.

Would it be possible to make the return type HttpMessageHandler for CreateHttpClientHandler in HttpConnection?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions