Sha256: 5c597a613f3fe636344ee31b8fc2409d702e96dfd50bbd7e85c7850d0836a798

Contents?: true

Size: 1.18 KB

Versions: 11

Compression:

Stored size: 1.18 KB

Contents

//
//  NetRequestImpl.h
//  RhoAppBaseLib
//
//  Created by Alex Epifanoff on 17.02.15.
//
//

#pragma once

#include "net/INetRequest.h"

namespace rho {
namespace net {

class CIphoneNetRequestHolder;

class CIPhoneNetRequest : public INetRequestImpl {

public:
  CIPhoneNetRequest();
  virtual ~CIPhoneNetRequest(void);

  virtual INetResponse* doRequest( const char* method, const String& strUrl, const String& strBody, IRhoSession* oSession, Hashtable<String,String>* pHeaders );
  virtual INetResponse* pullFile(const String& strUrl, common::CRhoFile& oFile, IRhoSession* oSession, Hashtable<String,String>* pHeaders);
  virtual INetResponse* pushMultipartData(const String& strUrl, VectorPtr<CMultipartItem*>& arItems, IRhoSession* oSession, Hashtable<String,String>* pHeaders);

  virtual void cancel();

  virtual boolean getSslVerifyPeer();
  virtual void setSslVerifyPeer(boolean mode);
  
  virtual boolean getFollowRedirects();
  virtual void setFollowRedirects(boolean follow);

  virtual INetResponse* createEmptyNetResponse();
    
  virtual void setCallback(INetRequestCallback*);
  

private:
  common::CAutoPtr<CIphoneNetRequestHolder> m_pHolder;
  INetRequestCallback* m_pCallback;
};


}
}

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
rhodes-5.5.18 platform/iphone/Classes/rho/net/IPhoneNetRequest.h
rhodes-5.5.17 platform/iphone/Classes/rho/net/IPhoneNetRequest.h
rhodes-5.5.15 platform/iphone/Classes/rho/net/IPhoneNetRequest.h
rhodes-5.5.0.22 platform/iphone/Classes/rho/net/IPhoneNetRequest.h
rhodes-5.5.2 platform/iphone/Classes/rho/net/IPhoneNetRequest.h
rhodes-5.5.0.7 platform/iphone/Classes/rho/net/IPhoneNetRequest.h
rhodes-5.5.0.3 platform/iphone/Classes/rho/net/IPhoneNetRequest.h
rhodes-5.5.0 platform/iphone/Classes/rho/net/IPhoneNetRequest.h
tauplatform-1.0.3 platform/iphone/Classes/rho/net/IPhoneNetRequest.h
tauplatform-1.0.2 platform/iphone/Classes/rho/net/IPhoneNetRequest.h
tauplatform-1.0.1 platform/iphone/Classes/rho/net/IPhoneNetRequest.h