DiscordApiHttpService class

Inheritance
  • Object
  • HttpService<GetDiscordRequestBuilderAdapter, PostDiscordRequestBuilderAdapter, DestroyDiscordRequestBuilderAdapter>
  • DiscordApiHttpService

Constructors

DiscordApiHttpService(String baseUrl)

Properties

baseUrl String
getter/setter pairinherited
container ↔ Ioc
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

defineHeader({required String header, required String value}) → void
inherited
destroy({required String url}) → DestroyDiscordRequestBuilderAdapter
override
get({required String url}) → GetDiscordRequestBuilderAdapter
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch({required String url}) → PostDiscordRequestBuilderAdapter
override
post({required String url}) → PostDiscordRequestBuilderAdapter
override
put({required String url}) → PostDiscordRequestBuilderAdapter
override
removeHeader(String header) → void
inherited
responseWrapper<T>(Response response) → Response
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited