requestCrawl method
Request a service to persistently crawl hosted repos. Expected use is new PDS instances declaring their existence to Relays. Does not require auth.
https://atprotodart.com/docs/lexicons/com/atproto/sync/requestCrawl
Implementation
Future<XRPCResponse<EmptyData>> requestCrawl({
required String hostname,
Map<String, String>? $unknown,
Map<String, String>? $headers,
PostClient? $client,
}) async =>
await _ctx.post<EmptyData>(
ns.comAtprotoSyncRequestCrawl,
headers: $headers,
body: {
'hostname': hostname,
...?$unknown,
},
client: $client,
);