package obus
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Pure Ocaml implementation of the D-Bus protocol
Install
dune-project
Dependency
Authors
Maintainers
Sources
1.2.0.tar.gz
sha256=b8a0707f03d525a98c1c5a380b07074e52f2d26918c7b2ad90b5cc0f99a67f2d
md5=0896d5078bfd486a65cf9fa73a984b3f
doc/obus.internals/OBus_string/index.html
Module OBus_string
Restriction on strings used with D-Bus
There are a lot of restrictions for strings used in D-Bus. OBus only verifies strings when a message is sent or received
val error_message : error -> stringerror_message error returns a human-readable error message
Error projections
val typ : error -> stringval str : error -> stringval ofs : error -> intval msg : error -> stringValidators
type validator = string -> error optionTests if a string is correct.
- if it is, returns
None - if not, returns
Some(ofs, msg)
exception Invalid_string of errorval assert_validate : validator -> string -> unitRaises Invalid_string if the given string failed to validate
Common strings
Type for common strings, restrictions are:
- a string must be encoded in valid UTF-8
- a string must not contains the null byte
val validate : validatorValidation function for common strings
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page