FBRouteRequest.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /**
  2. * Copyright (c) 2015-present, Facebook, Inc.
  3. * All rights reserved.
  4. *
  5. * This source code is licensed under the BSD-style license found in the
  6. * LICENSE file in the root directory of this source tree. An additional grant
  7. * of patent rights can be found in the PATENTS file in the same directory.
  8. */
  9. #import <Foundation/Foundation.h>
  10. @class FBSession;
  11. NS_ASSUME_NONNULL_BEGIN
  12. /**
  13. Class that represents WebDriverAgent command request
  14. */
  15. @interface FBRouteRequest : NSObject
  16. /*! Request's URL */
  17. @property (nonatomic, strong, readonly) NSURL *URL;
  18. /*! Parameters sent with that request */
  19. @property (nonatomic, copy, readonly) NSDictionary *parameters;
  20. /*! Arguments sent with that request */
  21. @property (nonatomic, copy, readonly) NSDictionary *arguments;
  22. /*! Session associated with that request */
  23. @property (nonatomic, strong, readonly) FBSession *session;
  24. /**
  25. Convenience constructor for request
  26. */
  27. + (instancetype)routeRequestWithURL:(NSURL *)URL parameters:(NSDictionary *)parameters arguments:(NSDictionary *)arguments;
  28. @end
  29. NS_ASSUME_NONNULL_END