In case of confinement, imprisonment, or detention of a person by an officer, a writ of habeas corpus shall be directed to him, and command him to have such person before the court or judge designated in the writ, at a time and place therein specified.
R.C. §2725.09