Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support of sending object and other unknown types in header #185

Closed
asadali214 opened this issue Aug 29, 2024 · 0 comments · Fixed by #186
Closed

Add support of sending object and other unknown types in header #185

asadali214 opened this issue Aug 29, 2024 · 0 comments · Fixed by #186
Assignees
Labels
enhancement New feature or request

Comments

@asadali214
Copy link
Collaborator

Currently the following interface of RequestBuilder defines a header function that only support types string | boolean | number | bigint

export interface RequestBuilder<BaseUrlParamType, AuthParams> {
  ...
  header(name: string, value?: string | boolean | number | bigint | null): void;
}

This does not include the types like object or unknown. Please update this function to allow the support of all kind of header parameters

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant