Function alpaca::morphing::morph_object
[−]
[src]
#[no_mangle]pub extern "C" fn morph_object(object: &[u8], request: &str) -> *const u8
Do ALPaCA's morphing.
If the input object is an HTML page, it samples a new page, changes the references to its objects accordingly, and pads it; if it is a different type of object, it returns the object padded to the specified size.