import public Data.ByteString
import public HTTP.Header.Typesinterface Encode : Type -> TypeAn interface for encode a value as raw bytes
This is used for encoding values in URL paths and query strings
but - in general - not for encoding value in the message body.
Use `EncodeVia` for that.
encode : a -> ByteStringencode : Encode a => a -> ByteStringinterface EncodeMany : Type -> TypeAn interface for encoding values as a list of bytestrings.
encodeMany : a -> List ByteStringEncode a => EncodeMany aAll (EncodeMany . f) ts => EncodeMany (All f ts)EncodeMany a => EncodeMany (Vect n a)EncodeMany a => EncodeMany (List a)EncodeMany a => EncodeMany (SnocList a)encodeMany : EncodeMany a => a -> List ByteString0 Text : Type0 Octett : Type0 OctettList : Typeinterface EncodeVia : Type -> Type -> TypeencodeAs : EncodeVia from to => from -> totoBytes : EncodeVia from to => to -> List ByteStringmediaType : EncodeVia from to => MediaTypeencodeVia : f -> EncodeVia f t -> List ByteString