Skip to content

Response headers #3562

@Karram-Ayman

Description

@Karram-Ayman

Question

Hi Team, is there any way in the ApolloClient to receive a headers of the response?

as I see in here that we don't have access to headers in the resultHandler

public func fetch(query: Query, cachePolicy: Apollo.CachePolicy = .default, contextIdentifier: UUID? = nil, context: (any Apollo.RequestContext)? = nil, queue: DispatchQueue = .main, resultHandler: Apollo.GraphQLResultHandler<Query.Data>? = nil) -> (any Apollo.Cancellable) where Query : ApolloAPI.GraphQLQuery

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionIssues that have a question which should be addressed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions