The judge issuing the writ of habeas corpus or the judge before whom it is tried has the same power as a court to compel the attendance of witnesses or to punish contempt of his authority.
Wyo. Stat. Ann. § 1-27-124
Compelling attendance of witnesses; punishing for contempt
Official source: Wyoming Legislature. Reproduced from public-domain Wyoming statutes; confirm against the official source for the current text. Not legal advice.