67
const String* RpcRequest::getStringParam(size_t index) const
69
const String* stringParam = 0;
70
if(params->size() > index) {
71
stringParam = asString(params->get(index));
76
const Integer* RpcRequest::getIntegerParam(size_t index) const
78
const Integer* integerParam = 0;
79
if(params->size() > index) {
80
integerParam = asInteger(params->get(index));
85
const List* RpcRequest::getListParam(size_t index) const
87
const List* listParam = 0;
88
if(params->size() > index) {
89
listParam = asList(params->get(index));
94
const Dict* RpcRequest::getDictParam(size_t index) const
96
const Dict* dictParam = 0;
97
if(params->size() > index) {
98
dictParam = asDict(params->get(index));
103
67
} // namespace rpc
105
69
} // namespace aria2