box / box/box-windows-sdk-v2

Allow for a custom HttpMessageHandler to be provided to the internal HttpClient instance

Open
#303 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C#
Stars
183
Forks
160
Avg merge
10h 44m
Merged PRs (30d)
15

Description

Gathering tracing metrics for an application's Http requests can be done easily with a custom HttpMessageHandler as seen here: http://stackoverflow.com/a/18925296

In order to get this behavior with the current version of the Box SDK, an entire HttpRequestHandler class needs to be provided to the BoxClient. A lighter weight alternative where by a HttpMessageHandler can be provided is preferred.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how BoxClient creates and uses its internal HttpClient and HttpRequestHandler. Confirm the requested integration point for a custom HttpMessageHandler, then verify that request tracing works without requiring callers to provide an entire HttpRequestHandler.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
api
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.