comAtprotoServerDescribeServer function

Future<XRPCResponse<ServerDescribeServerOutput>> comAtprotoServerDescribeServer({
  1. required ServiceContext $ctx,
  2. Map<String, String>? $headers,
  3. Map<String, String>? $unknown,
})

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

Implementation

Future<XRPCResponse<ServerDescribeServerOutput>>
comAtprotoServerDescribeServer({
  required ServiceContext $ctx,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await $ctx.get(
  ns.comAtprotoServerDescribeServer,
  headers: $headers,
  parameters: {...?$unknown},
  to: const ServerDescribeServerOutputConverter().fromJson,
);