the base url, without the vX version: https://lemmy.ml -> goes to https://lemmy.ml/api/vX
Optionaloptions: {OptionalfetchFunction?: {Optionalheaders?: { [key: string]: string }Optionaloptions: RequestOptionsOptionalvalue: string | string[]Set the headers (can be used to set the auth header)
Optionaloptions: RequestOptionsOptionaloptions: RequestOptions
Generates a new instance of LemmyHttp.