C# Класс org.GraphDefined.Vanaheimr.Hermod.HTTP.HTTPTools

HTTP tools.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
MovedPermanently ( HTTPRequest HTTPRequest, String Location ) : HTTPResponse

Return a HTTP response redirecting to the given location permanently.

MovedTemporarily ( HTTPRequest HTTPRequest, String Location ) : HTTPResponse

Return a HTTP response redirecting to the given location temporarily.

Описание методов

MovedPermanently() публичный статический Метод

Return a HTTP response redirecting to the given location permanently.
public static MovedPermanently ( HTTPRequest HTTPRequest, String Location ) : HTTPResponse
HTTPRequest HTTPRequest The HTTP request.
Location String The location of the redirect.
Результат HTTPResponse

MovedTemporarily() публичный статический Метод

Return a HTTP response redirecting to the given location temporarily.
public static MovedTemporarily ( HTTPRequest HTTPRequest, String Location ) : HTTPResponse
HTTPRequest HTTPRequest The HTTP request.
Location String The location of the redirect.
Результат HTTPResponse