Lines Matching defs:parse_options
71 parse_options(State=#mochiweb_socket_server{}) -> function
73 parse_options(Options) -> function
76 parse_options([], State=#mochiweb_socket_server{acceptor_pool_size=PoolSize, function
87 parse_options([{name, L} | Rest], State) when is_list(L) -> function
90 parse_options([{name, A} | Rest], State) when A =:= undefined -> function
92 parse_options([{name, A} | Rest], State) when is_atom(A) -> function
95 parse_options([{name, Name} | Rest], State) -> function
97 parse_options([{port, L} | Rest], State) when is_list(L) -> function
100 parse_options([{port, Port} | Rest], State) -> function
102 parse_options([{ip, Ip} | Rest], State) -> function
113 parse_options([{loop, Loop} | Rest], State) -> function
115 parse_options([{backlog, Backlog} | Rest], State) -> function
117 parse_options([{nodelay, NoDelay} | Rest], State) -> function
119 parse_options([{acceptor_pool_size, Max} | Rest], State) -> function
123 parse_options([{max, Max} | Rest], State) -> function
126 parse_options([{ssl, Ssl} | Rest], State) when is_boolean(Ssl) -> function
128 parse_options([{ssl_opts, SslOpts} | Rest], State) when is_list(SslOpts) -> function
131 parse_options([{profile_fun, ProfileFun} | Rest], State) when is_function(ProfileFun) -> function