comAtprotoSyncListHosts function
Enumerates upstream hosts (eg, PDS or relay instances) that this service consumes from. Implemented by relays.
Implementation
Future<XRPCResponse<SyncListHostsOutput>> comAtprotoSyncListHosts({
int? limit,
String? cursor,
required ServiceContext $ctx,
Map<String, String>? $headers,
Map<String, String>? $unknown,
}) async => await $ctx.get(
ns.comAtprotoSyncListHosts,
headers: $headers,
parameters: {
...?$unknown,
if (limit != null) 'limit': limit,
if (cursor != null) 'cursor': cursor,
},
to: const SyncListHostsOutputConverter().fromJson,
);