MBXHttpResponse.h 755 B

1234567891011121314151617181920212223242526
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. @class MBXExpected<__covariant Value, __covariant Error>;
  4. @class MBXHttpRequest;
  5. @class MBXHttpRequestError;
  6. @class MBXHttpResponseData;
  7. /** Record which is used to report HTTP response to the caller. */
  8. NS_SWIFT_NAME(HttpResponse)
  9. __attribute__((visibility ("default")))
  10. @interface MBXHttpResponse : NSObject
  11. // This class provides custom init which should be called
  12. - (nonnull instancetype)init NS_UNAVAILABLE;
  13. // This class provides custom init which should be called
  14. + (nonnull instancetype)new NS_UNAVAILABLE;
  15. /** HTTP request data which was use to send HTTP request. */
  16. @property (nonatomic, readonly, nonnull) MBXHttpRequest *request;
  17. @end