Skip to content

Expose HTTP response message (or response metadata) for ClickHouseRawResult #198

@StevenChisholm

Description

@StevenChisholm

Use case

When using ClickHouseRawResult.cs to consume raw query results, applications may need access to HTTP response metadata returned by ClickHouse. Example: X-ClickHouse-Exception-Tag; Content-Encoding (if AutomaticDecompression is set to None); X-ClickHouse-Summary; X-Clickhouse-Timezone; X-Clickhouse-Format

Describe the solution you'd like

The easy solution: Make 'private readonly HttpResponseMessage response' public,
or provide some other means of exposing the message headers like List<KeyValuePair<string,string>> ResponseHeaders.

Other Considerations

Do something similar in ClickHouseDataReader.cs

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions