Skip to content

Dream.run ~secret is documented but does not exist #207

@tjltjl

Description

@tjltjl

dream.mli in comment:

"Specify {!Dream.run} argument [~secret], or the Web app will not be able to
decrypt cookies from prior starts."

(also documented on the website)

However, the actual signature of Dream.run is different:

val run :
?interface:string ->
?port:int ->
?stop:unit promise ->
?error_handler:error_handler ->
?tls:bool ->
?certificate_file:string ->
?key_file:string ->
?builtins:bool ->
?greeting:bool ->
?adjust_terminal:bool ->
handler -> unit

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions