94
96
Spec = httpc_child_spec(Profile, Dir),
95
97
child_spec(Rest, [Spec | Acc]).
99
StartFunc = {httpc_manager, start_link, [{default, Dir}]},
104
{Name, StartFunc, Restart, Shutdown, Type, Modules};
106
99
httpc_child_spec(Profile, Dir) ->
108
101
StartFunc = {httpc_manager, start_link, [{Profile, Dir}]},
111
104
Modules = [httpc_manager],
113
106
{Name, StartFunc, Restart, Shutdown, Type, Modules}.