HomePhabricator
Diffusion Comm f5e11bdfcd79

[lib] Make api-request-handler keyserver-specific

Description

[lib] Make api-request-handler keyserver-specific

Summary:
Select a connection status from the given keyserver.
Modify socketAPIHandlers to be a map from keyserver to SocketAPIHandler.

https://linear.app/comm/issue/ENG-5778/update-apirequesthandler

Test Plan: Added console.logs in fetchResponse to check if it is called and if a request is matched with response. Focused a thread and checked if proper request and response were generated.

Reviewers: inka, kamil, michal, atul

Reviewed By: atul

Subscribers: ashoat

Differential Revision: https://phab.comm.dev/D11089

Details

Provenance
tomekAuthored on Feb 15 2024, 4:04 AM
Reviewer
atul
Differential Revision
D11089: [lib] Make api-request-handler keyserver-specific
Parents
rCOMM965e8c265133: [keyserver][lib][native] Rename userId -> userID
Branches
Unknown
Tags
Unknown