1
0
KF2-Dev-Scripts/Engine/Classes/HttpResponseInterface.uc

27 lines
667 B
Ucode
Raw Normal View History

2020-12-13 15:01:13 +00:00
/**
* Base interface for HttpResponses.
*
* Copyright 1998-2013 Epic Games, Inc. All Rights Reserved.
*/
class HttpResponseInterface
extends HttpBaseInterface
native
abstract;
// Contains defines for all the possible status codes that can be returned.
`include(HttpStatusCodes.uci)
/**
* Returns the response code returned by the requested server.
* See HttpStatusCodes.uci for a complete list.
*
* @return the response code.
*/
native function int GetResponseCode();
/**
* Returns the payload as a string, assuming the payload is UTF8.
*
* @return The payload as a string.
*/
native function String GetContentAsString();