Contents

OBEXAddHTTPHeader(_:_:_:)

Add bytes of data to a dictionary of OBEXheaders.

Declaration

func OBEXAddHTTPHeader(_ inHeaderData: UnsafeRawPointer!, _ inHeaderDataLength: UInt32, _ dictRef: CFMutableDictionary!) -> OBEXError

Parameters

  • inHeaderData:

    HTTP header data.

  • inHeaderDataLength:

    Length of HTTP header data.

  • dictRef:

    Dictionary you have allocated to hold the headers. Make sure it’s mutable.

Return Value

Error code, kOBEXSuccess (0) if success.

Discussion

HTTP header - OBEX Spec, 2.2.8: Byte Sequence

See Also

Miscellaneous