1module Bun.Response where
3import Data.Argonaut (Json)
4import Foreign.Object (Object)
6foreign import data Response :: Type
7foreign import data ReadableStream :: Type
9type Options = { status :: Int, statusText :: String, headers :: Object String }
11foreign import json :: Json -> Options -> Response
12foreign import string :: String -> Options -> Response
13foreign import stream :: ReadableStream -> Options -> Response
14foreign import body :: Response -> ReadableStream
15foreign import headers :: Response -> Object String
16foreign import status :: Response -> Int
17foreign import statusText :: Response -> String
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list