tagion v1.0.3-rc1 (2023-12-18T15:15:15Z)
Dub
Repo
InputValidatorOptions
tagion
services
inputvalidator
Undocumented in source.
@
safe
struct
InputValidatorOptions {
string
sock_addr
;
uint
sock_recv_timeout
;
uint
sock_recv_buf
;
uint
sock_send_timeout
;
uint
sock_send_buf
;
immutable
(
string
)
contract_sock_addr
(string prefix) via
import
tagion
.
services
.
options
:
contract_sock_addr
;
;
void
setDefault
();
void
setPrefix
(string prefix);
mixin
JSONCommon
;
}
Members
Functions
setDefault
void
setDefault
()
Undocumented in source. Be warned that the author may not have intended to support it.
setPrefix
void
setPrefix
(string prefix)
Undocumented in source. Be warned that the author may not have intended to support it.
Mixins
__anonymous
mixin
JSONCommon
Undocumented in source.
Variables
sock_addr
string
sock_addr
;
Undocumented in source.
sock_recv_buf
uint
sock_recv_buf
;
Undocumented in source.
sock_recv_timeout
uint
sock_recv_timeout
;
Undocumented in source.
sock_send_buf
uint
sock_send_buf
;
Undocumented in source.
sock_send_timeout
uint
sock_send_timeout
;
Undocumented in source.
Mixed In Members
From
mixin
JSONCommon
check
alias
check
=
Check
!
OptionException
Undocumented in source.
ArrayElementTypes
alias
ArrayElementTypes
=
AliasSeq
!(
bool
,
string
,
double
,
int
)
Undocumented in source.
isSupportedArray
eponymoustemplate
isSupportedArray
(T)
Undocumented in source.
isSupportedAssociativeArray
eponymoustemplate
isSupportedAssociativeArray
(T)
Undocumented in source.
isSupported
eponymoustemplate
isSupported
(T)
Undocumented in source.
toJSON
JSON
.
JSONValue
toJSON
()
stringify
string
stringify
()
Stringify the struct
parse
void
parse
(JSON.JSONValue json_value)
Intialize a struct from a JSON
Meta
Source
See Implementation
tagion
services
inputvalidator
enums
ResponseError
structs
InputValidatorOptions
InputValidatorService