Last active
April 4, 2019 07:39
-
-
Save jzxhuang/95e0372b11b48421b2be203cd2683f01 to your computer and use it in GitHub Desktop.
An expectString function with a more detailed response on the sucess case
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
expectStringDetailed : (Result Error ( Metadata, String ) -> msg) -> Expect msg | |
expectStringDetailed msg = | |
Http.expectStringResponse msg convertResponseString | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment