Unreal OpenAI API 1.0.0
Public Member Functions | Public Attributes | Private Attributes | List of all members
FFakeHttpRequest Class Reference
Inheritance diagram for FFakeHttpRequest:

Public Member Functions

 FFakeHttpRequest (const FString &ResponseStr)
 
virtual FString GetURL () const override
 
virtual FHttpRequestWillRetryDelegate & OnRequestWillRetry () override
 
virtual FString GetURLParameter (const FString &ParameterName) const override
 
virtual FString GetHeader (const FString &HeaderName) const override
 
virtual TArray< FString > GetAllHeaders () const override
 
virtual FString GetContentType () const override
 
virtual uint64 GetContentLength () const override
 
virtual const TArray< uint8 > & GetContent () const override
 
virtual FString GetVerb () const override
 
virtual void SetVerb (const FString &Verb) override
 
virtual void SetURL (const FString &URL) override
 
virtual void SetContent (const TArray< uint8 > &ContentPayload) override
 
virtual void SetContent (TArray< uint8 > &&ContentPayload) override
 
virtual void SetContentAsString (const FString &ContentString) override
 
virtual bool SetContentAsStreamedFile (const FString &Filename) override
 
virtual bool SetContentFromStream (TSharedRef< FArchive, ESPMode::ThreadSafe > Stream) override
 
virtual void SetHeader (const FString &HeaderName, const FString &HeaderValue) override
 
virtual void AppendToHeader (const FString &HeaderName, const FString &AdditionalHeaderValue) override
 
virtual void SetTimeout (float InTimeoutSecs) override
 
virtual void ClearTimeout () override
 
virtual TOptional< float > GetTimeout () const override
 
virtual bool ProcessRequest () override
 
virtual FHttpRequestCompleteDelegate & OnProcessRequestComplete () override
 
virtual FHttpRequestHeaderReceivedDelegate & OnHeaderReceived () override
 
virtual FHttpRequestProgressDelegate64 & OnRequestProgress64 () override
 
virtual FHttpRequestStatusCodeReceivedDelegate & OnStatusCodeReceived () override
 
virtual void CancelRequest () override
 
virtual EHttpRequestStatus::Type GetStatus () const override
 
virtual const FHttpResponsePtr GetResponse () const override
 
virtual void Tick (float DeltaSeconds) override
 
virtual float GetElapsedTime () const override
 
virtual bool SetResponseBodyReceiveStream (TSharedRef< FArchive > Stream) override
 
virtual void SetDelegateThreadPolicy (EHttpRequestDelegateThreadPolicy InThreadPolicy) override
 
virtual EHttpRequestDelegateThreadPolicy GetDelegateThreadPolicy () const override
 
virtual const FString & GetEffectiveURL () const override
 
virtual EHttpFailureReason GetFailureReason () const override
 
virtual void ProcessRequestUntilComplete () override
 
virtual void SetActivityTimeout (float InTimeoutSecs) override
 
virtual FString GetOption (const FName Option) const override
 
virtual void SetOption (const FName Option, const FString &OptionValue) override
 
virtual void ResetTimeoutStatus () override
 

Public Attributes

FHttpRequestProgressDelegate HttpRequestProgressDelegate
 
FHttpRequestProgressDelegate64 HttpRequestProgressDelegate64
 
FHttpRequestCompleteDelegate HttpRequestCompleteDelegate
 
FHttpRequestHeaderReceivedDelegate HttpHeaderReceivedDelegate
 
FHttpRequestWillRetryDelegate HttpRequestWillRetryDelegate
 
FHttpRequestStatusCodeReceivedDelegate HttpRequestStatusCodeReceivedDelegate
 

Private Attributes

FString ReponseData
 
FString EffectiveURL
 

The documentation for this class was generated from the following file: