matrix-org / matrix-org/matrix-ios-sdk
[MxRestClient] Update it to simplify category management
Nobody has claimed this yet.
- Dominant language
- Objective-C
- Stars
- 484
- Forks
- 225
- PR merge metrics
- No merged PRs in 30d
Description
To add new client server requests, it is useful to create a category for MxClient.
In particulary, if you want to create a new loggin service or if you want to update access_token regularly and without needing to perform a logout/new loggin, some MxRestClient attributes should become public.
**Proposal:**
Add in MXRestClient.h a property for credentials
example: @property (nonatomic) MXCredentials *credentials
Following attributes should also become public
httpClient
identityHttpClient
processingQueue
completionQueue
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in MXRestClient.h and inspect the current declarations and visibility of MXCredentials, httpClient, identityHttpClient, processingQueue, and completionQueue. Done means the credentials property and listed attributes are publicly accessible for category-based client requests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- objective-c
- Domain
- api, mobile
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100