Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 705 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 705 Bytes

Straw, a native/js bridge 🍢

straw-ios-service-http v0.1.2

Build Status

HTTP service for Straw iOS

Methods

  • get
    • Success Object
      • {String} responseText The response text
      • {Number} statusCode The status code of the response
    • Error Codes:
      • -1: Unknown error occured
      • -1001: Connection timed out
      • -1004: Cannot connect to the host

Note: 40x or 50x responses are not an failure as a Straw Method Call. These are success Straw Call with statusCode field 40x or 50x.

  • post

not implemented

  • head
  • options
  • put
  • delete