C# Class Movies.MoviesApi

Main class for grouping root resources. Nested resources are defined as properties. The constructor can optionally receive an URL and HttpClient instance to override the default ones.
Afficher le fichier Open project: mulesoft-labs/raml-dotnet-apicore Class Usage Examples

Protected Properties

Свойство Type Description
client System.Net.Http.HttpClient

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
AddDefaultRequestHeader ( string name, IEnumerable values ) : void
AddDefaultRequestHeader ( string name, string value ) : void
MoviesApi ( HttpClient httpClient ) : System
MoviesApi ( string endpointUrl ) : System

Method Details

AddDefaultRequestHeader() public méthode

public AddDefaultRequestHeader ( string name, IEnumerable values ) : void
name string
values IEnumerable
Résultat void

AddDefaultRequestHeader() public méthode

public AddDefaultRequestHeader ( string name, string value ) : void
name string
value string
Résultat void

MoviesApi() public méthode

public MoviesApi ( HttpClient httpClient ) : System
httpClient System.Net.Http.HttpClient
Résultat System

MoviesApi() public méthode

public MoviesApi ( string endpointUrl ) : System
endpointUrl string
Résultat System

Property Details

client protected_oe property

protected HttpClient,System.Net.Http client
Résultat System.Net.Http.HttpClient