dendrite/internal/httputil
Neil Alexander c45d0936b5
Generic-based internal HTTP API (#2626)
* Generic-based internal HTTP API (tested out on a few endpoints in the federation API)

* Add `PerformInvite`

* More tweaks

* Fix metric name

* Fix LookupStateIDs

* Lots of changes to clients

* Some serverside stuff

* Some error handling

* Use paths as metric names

* Revert "Use paths as metric names"

This reverts commit a9323a6a343f5ce6461a2e5bd570fe06465f1b15.

* Namespace metric names

* Remove duplicate entry

* Remove another duplicate entry

* Tweak error handling

* Some more tweaks

* Update error behaviour

* Some more error tweaking

* Fix API path for `PerformDeleteKeys`

* Fix another path

* Tweak federation client proxying

* Fix another path

* Don't return typed nils

* Some more tweaks, not that it makes any difference

* Tweak federation client proxying

* Maybe fix the key backup test
2022-08-11 15:29:33 +01:00
..
http.go Generic-based internal HTTP API (#2626) 2022-08-11 15:29:33 +01:00
httpapi_test.go Rehuffle where things are in the internal package (#1122) 2020-06-12 14:55:57 +01:00
httpapi.go Clean up interface definitions (#2427) 2022-05-06 12:39:26 +01:00
internalapi.go Generic-based internal HTTP API (#2626) 2022-08-11 15:29:33 +01:00
paths.go Healthcheck endpoints (#2303) 2022-03-25 13:25:15 +00:00
rate_limiting.go Rate limiting changes (#2519) 2022-06-07 14:24:04 +01:00
routing.go Rehuffle where things are in the internal package (#1122) 2020-06-12 14:55:57 +01:00