describeServer method

Future<XRPCResponse<DescribeServerOutput>> describeServer({
  1. Map<String, String>? $unknown,
  2. Map<String, String>? $headers,
  3. GetClient? $client,
})

Describes the server's account creation requirements and capabilities. Implemented by PDS.

https://atprotodart.com/docs/lexicons/com/atproto/server/describeServer

Implementation

Future<XRPCResponse<DescribeServerOutput>> describeServer({
  Map<String, String>? $unknown,
  Map<String, String>? $headers,
  GetClient? $client,
}) async =>
    await _ctx.get<DescribeServerOutput>(
      ns.comAtprotoServerDescribeServer,
      headers: $headers,
      to: const DescribeServerOutputConverter().fromJson,
      client: $client,
    );