ApiRest Class

Classe indépendante d'accès à une api rest avec éventuellement une "basic authorization"

Definition

Namespace: MediaTekDocuments.manager
Assembly: MediaTekDocuments (in MediaTekDocuments.exe) Version: 1.0.0.0 (1.0.0.0)
C#
internal class ApiRest
Inheritance
Object    ApiRest

Constructors

ApiRest Constructeur privé pour préparer la connexion (éventuellement sécurisée)

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetInstance Crée une instance unique de la classe
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
RecupDistant Envoi une demande à l'API et récupère la réponse
ToStringReturns a string that represents the current object.
(Inherited from Object)

Fields

httpClient Objet de connexion à l'api
httpResponse Canal http pour l'envoi du message et la récupération de la réponse
instance unique instance de la classe

See Also